diff --git a/src/lj_asm_arm64.h b/src/lj_asm_arm64.h index c216fced..5e690308 100644 --- a/src/lj_asm_arm64.h +++ b/src/lj_asm_arm64.h @@ -1441,7 +1441,7 @@ static void asm_intneg(ASMState *as, IRIns *ir) static void asm_intmul(ASMState *as, IRIns *ir) { Reg dest = ra_dest(as, ir, RSET_GPR); - Reg left = ra_alloc1(as, ir->op1, rset_exclude(RSET_GPR, dest)); + Reg left = ra_alloc1(as, ir->op1, RSET_GPR); Reg right = ra_alloc1(as, ir->op2, rset_exclude(RSET_GPR, left)); if (irt_isguard(ir->t)) { /* IR_MULOV */ asm_guardcc(as, CC_NE);