aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_mips.h')
-rw-r--r--src/lj_asm_mips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h
index e80f7582..b41e3dfe 100644
--- a/src/lj_asm_mips.h
+++ b/src/lj_asm_mips.h
@@ -1001,7 +1001,7 @@ static void asm_sload(ASMState *as, IRIns *ir)
1001 if (irt_isint(t)) { 1001 if (irt_isint(t)) {
1002 Reg tmp = ra_scratch(as, RSET_FPR); 1002 Reg tmp = ra_scratch(as, RSET_FPR);
1003 emit_tg(as, MIPSI_MFC1, dest, tmp); 1003 emit_tg(as, MIPSI_MFC1, dest, tmp);
1004 emit_fg(as, MIPSI_CVT_W_D, tmp, tmp); 1004 emit_fg(as, MIPSI_TRUNC_W_D, tmp, tmp);
1005 dest = tmp; 1005 dest = tmp;
1006 t.irt = IRT_NUM; /* Check for original type. */ 1006 t.irt = IRT_NUM; /* Check for original type. */
1007 } else { 1007 } else {