x86: Remove x87 support from interpreter.

SSE2 required from now on.
This commit is contained in:
Mike Pall
2013-02-21 16:56:59 +01:00
parent 61fb587d2c
commit 57768cd588
7 changed files with 100 additions and 645 deletions

View File

@@ -49,12 +49,14 @@ LJ_ASMF void lj_vm_exit_handler(void);
LJ_ASMF void lj_vm_exit_interp(void);
/* Internal math helper functions. */
#if LJ_TARGET_X86ORX64 || LJ_TARGET_PPC
#if LJ_TARGET_PPC
#define lj_vm_floor floor
#define lj_vm_ceil ceil
#else
LJ_ASMF double lj_vm_floor(double);
#if !LJ_TARGET_X86ORX64
LJ_ASMF double lj_vm_ceil(double);
#endif
#if LJ_TARGET_ARM
LJ_ASMF double lj_vm_floor_sf(double);
LJ_ASMF double lj_vm_ceil_sf(double);