diff options
author | Mike Pall <mike> | 2013-02-22 20:39:25 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2013-02-23 01:19:00 +0100 |
commit | b359ce804bb52585815fc52d7846202db4341acb (patch) | |
tree | 47ce07e6dc9403ce9e6b775c8d2f6d77360c6605 /src/lj_asm_mips.h | |
parent | fdc0ce8debd46bdf35aaec320eef3105055e90b5 (diff) | |
download | luajit-b359ce804bb52585815fc52d7846202db4341acb.tar.gz luajit-b359ce804bb52585815fc52d7846202db4341acb.tar.bz2 luajit-b359ce804bb52585815fc52d7846202db4341acb.zip |
Remove obsolete non-truncating number to integer conversions.
Diffstat (limited to 'src/lj_asm_mips.h')
-rw-r--r-- | src/lj_asm_mips.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index cd283b88..dcc74ce9 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h | |||
@@ -1000,7 +1000,7 @@ static void asm_sload(ASMState *as, IRIns *ir) | |||
1000 | if (irt_isint(t)) { | 1000 | if (irt_isint(t)) { |
1001 | Reg tmp = ra_scratch(as, RSET_FPR); | 1001 | Reg tmp = ra_scratch(as, RSET_FPR); |
1002 | emit_tg(as, MIPSI_MFC1, dest, tmp); | 1002 | emit_tg(as, MIPSI_MFC1, dest, tmp); |
1003 | emit_fg(as, MIPSI_CVT_W_D, tmp, tmp); | 1003 | emit_fg(as, MIPSI_TRUNC_W_D, tmp, tmp); |
1004 | dest = tmp; | 1004 | dest = tmp; |
1005 | t.irt = IRT_NUM; /* Check for original type. */ | 1005 | t.irt = IRT_NUM; /* Check for original type. */ |
1006 | } else { | 1006 | } else { |