summaryrefslogtreecommitdiff
path: root/src/lj_asm_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_asm_x86.h')
-rw-r--r--src/lj_asm_x86.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_asm_x86.h b/src/lj_asm_x86.h
index b7712b36..c89bc521 100644
--- a/src/lj_asm_x86.h
+++ b/src/lj_asm_x86.h
@@ -1591,8 +1591,8 @@ static void asm_fpmath(ASMState *as, IRIns *ir)
1591 } 1591 }
1592 emit_rmro(as, XO_FSTPq, XOg_FSTPq, RID_ESP, ofs); 1592 emit_rmro(as, XO_FSTPq, XOg_FSTPq, RID_ESP, ofs);
1593 switch (fpm) { /* st0 = lj_vm_*(st0) */ 1593 switch (fpm) { /* st0 = lj_vm_*(st0) */
1594 case IRFPM_EXP: emit_call(as, lj_vm_exp); break; 1594 case IRFPM_EXP: emit_call(as, lj_vm_exp_x87); break;
1595 case IRFPM_EXP2: emit_call(as, lj_vm_exp2); break; 1595 case IRFPM_EXP2: emit_call(as, lj_vm_exp2_x87); break;
1596 case IRFPM_SIN: emit_x87op(as, XI_FSIN); break; 1596 case IRFPM_SIN: emit_x87op(as, XI_FSIN); break;
1597 case IRFPM_COS: emit_x87op(as, XI_FCOS); break; 1597 case IRFPM_COS: emit_x87op(as, XI_FCOS); break;
1598 case IRFPM_TAN: emit_x87op(as, XI_FPOP); emit_x87op(as, XI_FPTAN); break; 1598 case IRFPM_TAN: emit_x87op(as, XI_FPOP); emit_x87op(as, XI_FPTAN); break;