mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-12-12 18:42:50 +00:00
Unify results of SELECTCC (#1197)
This commit is contained in:
parent
9e3c6acb25
commit
8350d9860b
|
|
@ -685,8 +685,8 @@ compile_int_div(JitCompContext *cc, IntArithmetic arith_op, bool is_i32,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
JitReg cmp1 = is_i32 ? jit_cc_new_reg_I32(cc) : jit_cc_new_reg_I64(cc);
|
JitReg cmp1 = jit_cc_new_reg_I32(cc);
|
||||||
JitReg cmp2 = is_i32 ? jit_cc_new_reg_I32(cc) : jit_cc_new_reg_I64(cc);
|
JitReg cmp2 = jit_cc_new_reg_I32(cc);
|
||||||
|
|
||||||
GEN_INSN(CMP, cc->cmp_reg, right,
|
GEN_INSN(CMP, cc->cmp_reg, right,
|
||||||
is_i32 ? NEW_CONST(I32, 0) : NEW_CONST(I64, 0));
|
is_i32 ? NEW_CONST(I32, 0) : NEW_CONST(I64, 0));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user