Commit b0d3df53 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

s390x: [liftoff] implement emit_i32_cond_jumpi

Change-Id: Iec87fc746329665cc98755260d344580a5e615c8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2808256Reviewed-by: 's avatarMilad Fa <mfarazma@redhat.com>
Commit-Queue: Junliang Yan <junyan@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73815}
parent 7509cd65
...@@ -1635,7 +1635,9 @@ void LiftoffAssembler::emit_cond_jump(LiftoffCondition liftoff_cond, ...@@ -1635,7 +1635,9 @@ void LiftoffAssembler::emit_cond_jump(LiftoffCondition liftoff_cond,
void LiftoffAssembler::emit_i32_cond_jumpi(LiftoffCondition liftoff_cond, void LiftoffAssembler::emit_i32_cond_jumpi(LiftoffCondition liftoff_cond,
Label* label, Register lhs, Label* label, Register lhs,
int32_t imm) { int32_t imm) {
bailout(kUnsupportedArchitecture, "emit_i32_cond_jumpi"); Condition cond = liftoff::ToCondition(liftoff_cond);
CmpS32(lhs, Operand(imm));
b(cond, label);
} }
#define EMIT_EQZ(test, src) \ #define EMIT_EQZ(test, src) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment