aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 7abafbf4..eaee5547 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1670,7 +1670,6 @@ static void asm_loop(ASMState *as)
1670#if !LJ_SOFTFP32 1670#if !LJ_SOFTFP32
1671#if !LJ_TARGET_X86ORX64 1671#if !LJ_TARGET_X86ORX64
1672#define asm_ldexp(as, ir) asm_callid(as, ir, IRCALL_ldexp) 1672#define asm_ldexp(as, ir) asm_callid(as, ir, IRCALL_ldexp)
1673#define asm_fppowi(as, ir) asm_callid(as, ir, IRCALL_lj_vm_powi)
1674#endif 1673#endif
1675 1674
1676static void asm_pow(ASMState *as, IRIns *ir) 1675static void asm_pow(ASMState *as, IRIns *ir)
@@ -1681,10 +1680,8 @@ static void asm_pow(ASMState *as, IRIns *ir)
1681 IRCALL_lj_carith_powu64); 1680 IRCALL_lj_carith_powu64);
1682 else 1681 else
1683#endif 1682#endif
1684 if (irt_isnum(IR(ir->op2)->t)) 1683 asm_callid(as, ir, irt_isnum(IR(ir->op2)->t) ? IRCALL_lj_vm_pow :
1685 asm_callid(as, ir, IRCALL_pow); 1684 IRCALL_lj_vm_powi);
1686 else
1687 asm_fppowi(as, ir);
1688} 1685}
1689 1686
1690static void asm_div(ASMState *as, IRIns *ir) 1687static void asm_div(ASMState *as, IRIns *ir)