aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2017-02-20 03:43:10 +0100
committerMike Pall <mike>2017-02-20 03:43:10 +0100
commita25c0b99b84558887887b8e298409dcf8605e5e3 (patch)
tree8cb7b1db3cb0cd4f6cdd59540d39d986b502e471 /src/lj_arch.h
parent4416e885d28c0f49d2c7bb3f9630ab23c22fbc9a (diff)
downloadluajit-a25c0b99b84558887887b8e298409dcf8605e5e3.tar.gz
luajit-a25c0b99b84558887887b8e298409dcf8605e5e3.tar.bz2
luajit-a25c0b99b84558887887b8e298409dcf8605e5e3.zip
MIPS64, part 2: Add MIPS64 hard-float 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, 3 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 001111da..9bf6f481 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -332,10 +332,12 @@
332#define LJ_ARCH_BITS 32 332#define LJ_ARCH_BITS 32
333#define LJ_TARGET_MIPS32 1 333#define LJ_TARGET_MIPS32 1
334#else 334#else
335#if LJ_ABI_SOFTFP || !LJ_ARCH_HASFPU
336#define LJ_ARCH_NOJIT 1 /* NYI */
337#endif
335#define LJ_ARCH_BITS 64 338#define LJ_ARCH_BITS 64
336#define LJ_TARGET_MIPS64 1 339#define LJ_TARGET_MIPS64 1
337#define LJ_TARGET_GC64 1 340#define LJ_TARGET_GC64 1
338#define LJ_ARCH_NOJIT 1 /* NYI */
339#endif 341#endif
340#define LJ_TARGET_MIPS 1 342#define LJ_TARGET_MIPS 1
341#define LJ_TARGET_EHRETREG 4 343#define LJ_TARGET_EHRETREG 4