diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_asm_mips.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_asm_mips.h b/src/lj_asm_mips.h index 37160c05..5d4115a9 100644 --- a/src/lj_asm_mips.h +++ b/src/lj_asm_mips.h | |||
@@ -1827,6 +1827,8 @@ static void asm_ir(ASMState *as, IRIns *ir) | |||
1827 | break; | 1827 | break; |
1828 | if (ir->op2 <= IRFPM_TRUNC) | 1828 | if (ir->op2 <= IRFPM_TRUNC) |
1829 | asm_callround(as, ir, IRCALL_lj_vm_floor + ir->op2); | 1829 | asm_callround(as, ir, IRCALL_lj_vm_floor + ir->op2); |
1830 | else if (ir->op2 == IRFPM_SQRT) | ||
1831 | asm_fpunary(as, ir, MIPSI_SQRT_D); | ||
1830 | else | 1832 | else |
1831 | asm_callid(as, ir, IRCALL_lj_vm_floor + ir->op2); | 1833 | asm_callid(as, ir, IRCALL_lj_vm_floor + ir->op2); |
1832 | break; | 1834 | break; |