mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
x86/x64: Fix code generation for fused IR_MUL/IR_MULOV.
This commit is contained in:
parent
a127eaf8d2
commit
1c9981ae4c
@ -2904,7 +2904,7 @@ static void asm_intarith(ASMState *as, IRIns *ir, x86Arith xa)
|
||||
x86Op xo;
|
||||
if (checki8(k)) { emit_i8(as, k); xo = XO_IMULi8;
|
||||
} else { emit_i32(as, k); xo = XO_IMULi; }
|
||||
emit_rr(as, xo, REX_64IR(ir, dest), left);
|
||||
emit_mrm(as, xo, REX_64IR(ir, dest), left);
|
||||
return;
|
||||
}
|
||||
ra_left(as, dest, lref);
|
||||
|
Loading…
Reference in New Issue
Block a user