aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2017-06-07 23:56:54 +0200
committerMike Pall <mike>2017-06-07 23:56:54 +0200
commita057a07ab702e225e21848d4f918886c5b0ac06b (patch)
tree5223cc2660144bac4c1daff5d6110a43ed4d96f2 /src/lj_arch.h
parent0e4a551809138b0e63d7d491710aa906b174495f (diff)
downloadluajit-a057a07ab702e225e21848d4f918886c5b0ac06b.tar.gz
luajit-a057a07ab702e225e21848d4f918886c5b0ac06b.tar.bz2
luajit-a057a07ab702e225e21848d4f918886c5b0ac06b.zip
MIPS64: Add soft-float support to JIT compiler backend.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com. Sponsored by Cisco Systems, Inc.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index c8d7138e..b7705642 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -337,9 +337,6 @@
337#define LJ_ARCH_BITS 32 337#define LJ_ARCH_BITS 32
338#define LJ_TARGET_MIPS32 1 338#define LJ_TARGET_MIPS32 1
339#else 339#else
340#if LJ_ABI_SOFTFP || !LJ_ARCH_HASFPU
341#define LJ_ARCH_NOJIT 1 /* NYI */
342#endif
343#define LJ_ARCH_BITS 64 340#define LJ_ARCH_BITS 64
344#define LJ_TARGET_MIPS64 1 341#define LJ_TARGET_MIPS64 1
345#define LJ_TARGET_GC64 1 342#define LJ_TARGET_GC64 1
@@ -512,6 +509,7 @@
512#define LJ_ABI_SOFTFP 0 509#define LJ_ABI_SOFTFP 0
513#endif 510#endif
514#define LJ_SOFTFP (!LJ_ARCH_HASFPU) 511#define LJ_SOFTFP (!LJ_ARCH_HASFPU)
512#define LJ_SOFTFP32 (LJ_SOFTFP && LJ_32)
515 513
516#if LJ_ARCH_ENDIAN == LUAJIT_BE 514#if LJ_ARCH_ENDIAN == LUAJIT_BE
517#define LJ_LE 0 515#define LJ_LE 0