aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index b9ada175..b01edfbf 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1641,7 +1641,7 @@ static void asm_conv(ASMState *as, IRIns *ir)
1641 return; 1641 return;
1642#endif 1642#endif
1643 } else { /* Integer to FP conversion. */ 1643 } else { /* Integer to FP conversion. */
1644 Reg left = (LJ_64 && st == IRT_U32) ? ra_allocref(as, lref, RSET_GPR) : 1644 Reg left = (LJ_64 && st == IRT_U32) ? ra_alloc1(as, lref, RSET_GPR) :
1645 asm_fuseload(as, lref, RSET_GPR); 1645 asm_fuseload(as, lref, RSET_GPR);
1646 emit_mrm(as, irt_isnum(ir->t) ? XO_CVTSI2SD : XO_CVTSI2SS, 1646 emit_mrm(as, irt_isnum(ir->t) ? XO_CVTSI2SD : XO_CVTSI2SS,
1647 dest|((LJ_64 && (st64 || st == IRT_U32)) ? REX_64 : 0), left); 1647 dest|((LJ_64 && (st64 || st == IRT_U32)) ? REX_64 : 0), left);