summaryrefslogtreecommitdiff
path: root/src/lj_asm.c
diff options
context:
space:
mode:
authorMike Pall <mike>2014-12-08 02:02:34 +0100
committerMike Pall <mike>2014-12-08 02:02:34 +0100
commitad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626 (patch)
tree3404e1b148e08f2320a9937ca4849dc794b36bad /src/lj_asm.c
parente03df1e3395bc719d43bd9196d0290757f992b2f (diff)
downloadluajit-ad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626.tar.gz
luajit-ad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626.tar.bz2
luajit-ad03eba715e5e0d0bd0f3c0ddef4b8f5bbb0c626.zip
x86/x64: Drop internal x87 math functions. Use libm functions.
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r--src/lj_asm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c
index 0b6738da..aaab3255 100644
--- a/src/lj_asm.c
+++ b/src/lj_asm.c
@@ -1262,9 +1262,6 @@ static void asm_call(ASMState *as, IRIns *ir)
1262} 1262}
1263 1263
1264#if !LJ_SOFTFP 1264#if !LJ_SOFTFP
1265static void asm_fppow(ASMState *as, IRIns *ir, IRRef lref, IRRef rref);
1266
1267#if !LJ_TARGET_X86ORX64
1268static void asm_fppow(ASMState *as, IRIns *ir, IRRef lref, IRRef rref) 1265static void asm_fppow(ASMState *as, IRIns *ir, IRRef lref, IRRef rref)
1269{ 1266{
1270 const CCallInfo *ci = &lj_ir_callinfo[IRCALL_pow]; 1267 const CCallInfo *ci = &lj_ir_callinfo[IRCALL_pow];
@@ -1274,7 +1271,6 @@ static void asm_fppow(ASMState *as, IRIns *ir, IRRef lref, IRRef rref)
1274 asm_setupresult(as, ir, ci); 1271 asm_setupresult(as, ir, ci);
1275 asm_gencall(as, ci, args); 1272 asm_gencall(as, ci, args);
1276} 1273}
1277#endif
1278 1274
1279static int asm_fpjoin_pow(ASMState *as, IRIns *ir) 1275static int asm_fpjoin_pow(ASMState *as, IRIns *ir)
1280{ 1276{