aboutsummaryrefslogtreecommitdiff
path: root/src/lj_asm_arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_arm.h')
-rw-r--r--src/lj_asm_arm.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lj_asm_arm.h b/src/lj_asm_arm.h
index ccb8ccb6..f922ed0f 100644
--- a/src/lj_asm_arm.h
+++ b/src/lj_asm_arm.h
@@ -1268,8 +1268,6 @@ static void asm_cnew(ASMState *as, IRIns *ir)
1268 ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)), 1268 ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)),
1269 ra_releasetmp(as, ASMREF_TMP1)); 1269 ra_releasetmp(as, ASMREF_TMP1));
1270} 1270}
1271#else
1272#define asm_cnew(as, ir) ((void)0)
1273#endif 1271#endif
1274 1272
1275/* -- Write barriers ------------------------------------------------------ */ 1273/* -- Write barriers ------------------------------------------------------ */
@@ -1364,8 +1362,6 @@ static void asm_callround(ASMState *as, IRIns *ir, int id)
1364 1362
1365static void asm_fpmath(ASMState *as, IRIns *ir) 1363static void asm_fpmath(ASMState *as, IRIns *ir)
1366{ 1364{
1367 if (ir->op2 == IRFPM_EXP2 && asm_fpjoin_pow(as, ir))
1368 return;
1369 if (ir->op2 <= IRFPM_TRUNC) 1365 if (ir->op2 <= IRFPM_TRUNC)
1370 asm_callround(as, ir, ir->op2); 1366 asm_callround(as, ir, ir->op2);
1371 else if (ir->op2 == IRFPM_SQRT) 1367 else if (ir->op2 == IRFPM_SQRT)
@@ -1507,14 +1503,10 @@ static void asm_mul(ASMState *as, IRIns *ir)
1507#define asm_mulov(as, ir) asm_mul(as, ir) 1503#define asm_mulov(as, ir) asm_mul(as, ir)
1508 1504
1509#if !LJ_SOFTFP 1505#if !LJ_SOFTFP
1510#define asm_div(as, ir) asm_fparith(as, ir, ARMI_VDIV_D) 1506#define asm_fpdiv(as, ir) asm_fparith(as, ir, ARMI_VDIV_D)
1511#define asm_pow(as, ir) asm_callid(as, ir, IRCALL_lj_vm_powi)
1512#define asm_abs(as, ir) asm_fpunary(as, ir, ARMI_VABS_D) 1507#define asm_abs(as, ir) asm_fpunary(as, ir, ARMI_VABS_D)
1513#define asm_ldexp(as, ir) asm_callid(as, ir, IRCALL_ldexp)
1514#endif 1508#endif
1515 1509
1516#define asm_mod(as, ir) asm_callid(as, ir, IRCALL_lj_vm_modi)
1517
1518static void asm_neg(ASMState *as, IRIns *ir) 1510static void asm_neg(ASMState *as, IRIns *ir)
1519{ 1511{
1520#if !LJ_SOFTFP 1512#if !LJ_SOFTFP