aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_asm_x86.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index e40b5e54..146371c1 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -2300,7 +2300,7 @@ static void asm_bitshift(ASMState *as, IRIns *ir, x86Shift xs, x86Op xv)
2300 dest = ra_dest(as, ir, rset_exclude(RSET_GPR, RID_ECX)); 2300 dest = ra_dest(as, ir, rset_exclude(RSET_GPR, RID_ECX));
2301 if (dest == RID_ECX) { 2301 if (dest == RID_ECX) {
2302 dest = ra_scratch(as, rset_exclude(RSET_GPR, RID_ECX)); 2302 dest = ra_scratch(as, rset_exclude(RSET_GPR, RID_ECX));
2303 emit_rr(as, XO_MOV, RID_ECX, dest); 2303 emit_rr(as, XO_MOV, REX_64IR(ir, RID_ECX), dest);
2304 } 2304 }
2305 right = irr->r; 2305 right = irr->r;
2306 if (ra_noreg(right)) 2306 if (ra_noreg(right))