diff options
Diffstat (limited to 'src/lj_asm_ppc.h')
-rw-r--r-- | src/lj_asm_ppc.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lj_asm_ppc.h b/src/lj_asm_ppc.h index d9e4ad04..c15b89fe 100644 --- a/src/lj_asm_ppc.h +++ b/src/lj_asm_ppc.h | |||
@@ -1174,8 +1174,6 @@ static void asm_cnew(ASMState *as, IRIns *ir) | |||
1174 | ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)), | 1174 | ra_allockreg(as, (int32_t)(sz+sizeof(GCcdata)), |
1175 | ra_releasetmp(as, ASMREF_TMP1)); | 1175 | ra_releasetmp(as, ASMREF_TMP1)); |
1176 | } | 1176 | } |
1177 | #else | ||
1178 | #define asm_cnew(as, ir) ((void)0) | ||
1179 | #endif | 1177 | #endif |
1180 | 1178 | ||
1181 | /* -- Write barriers ------------------------------------------------------ */ | 1179 | /* -- Write barriers ------------------------------------------------------ */ |
@@ -1246,8 +1244,6 @@ static void asm_fpunary(ASMState *as, IRIns *ir, PPCIns pi) | |||
1246 | 1244 | ||
1247 | static void asm_fpmath(ASMState *as, IRIns *ir) | 1245 | static void asm_fpmath(ASMState *as, IRIns *ir) |
1248 | { | 1246 | { |
1249 | if (ir->op2 == IRFPM_EXP2 && asm_fpjoin_pow(as, ir)) | ||
1250 | return; | ||
1251 | if (ir->op2 == IRFPM_SQRT && (as->flags & JIT_F_SQRT)) | 1247 | if (ir->op2 == IRFPM_SQRT && (as->flags & JIT_F_SQRT)) |
1252 | asm_fpunary(as, ir, PPCI_FSQRT); | 1248 | asm_fpunary(as, ir, PPCI_FSQRT); |
1253 | else | 1249 | else |
@@ -1361,9 +1357,7 @@ static void asm_mul(ASMState *as, IRIns *ir) | |||
1361 | } | 1357 | } |
1362 | } | 1358 | } |
1363 | 1359 | ||
1364 | #define asm_div(as, ir) asm_fparith(as, ir, PPCI_FDIV) | 1360 | #define asm_fpdiv(as, ir) asm_fparith(as, ir, PPCI_FDIV) |
1365 | #define asm_mod(as, ir) asm_callid(as, ir, IRCALL_lj_vm_modi) | ||
1366 | #define asm_pow(as, ir) asm_callid(as, ir, IRCALL_lj_vm_powi) | ||
1367 | 1361 | ||
1368 | static void asm_neg(ASMState *as, IRIns *ir) | 1362 | static void asm_neg(ASMState *as, IRIns *ir) |
1369 | { | 1363 | { |
@@ -1387,7 +1381,6 @@ static void asm_neg(ASMState *as, IRIns *ir) | |||
1387 | } | 1381 | } |
1388 | 1382 | ||
1389 | #define asm_abs(as, ir) asm_fpunary(as, ir, PPCI_FABS) | 1383 | #define asm_abs(as, ir) asm_fpunary(as, ir, PPCI_FABS) |
1390 | #define asm_ldexp(as, ir) asm_callid(as, ir, IRCALL_ldexp) | ||
1391 | 1384 | ||
1392 | static void asm_arithov(ASMState *as, IRIns *ir, PPCIns pi) | 1385 | static void asm_arithov(ASMState *as, IRIns *ir, PPCIns pi) |
1393 | { | 1386 | { |