aboutsummaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index f460a0ab..3505c63f 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -46,12 +46,16 @@
46#define JIT_F_CPU_FIRST JIT_F_SQRT 46#define JIT_F_CPU_FIRST JIT_F_SQRT
47#define JIT_F_CPUSTRING "\4SQRT\5ROUND" 47#define JIT_F_CPUSTRING "\4SQRT\5ROUND"
48#elif LJ_TARGET_MIPS 48#elif LJ_TARGET_MIPS
49#define JIT_F_MIPS32R2 0x00000010 49#define JIT_F_MIPSXXR2 0x00000010
50 50
51/* Names for the CPU-specific flags. Must match the order above. */ 51/* Names for the CPU-specific flags. Must match the order above. */
52#define JIT_F_CPU_FIRST JIT_F_MIPS32R2 52#define JIT_F_CPU_FIRST JIT_F_MIPSXXR2
53#if LJ_TARGET_MIPS32
53#define JIT_F_CPUSTRING "\010MIPS32R2" 54#define JIT_F_CPUSTRING "\010MIPS32R2"
54#else 55#else
56#define JIT_F_CPUSTRING "\010MIPS64R2"
57#endif
58#else
55#define JIT_F_CPU_FIRST 0 59#define JIT_F_CPU_FIRST 0
56#define JIT_F_CPUSTRING "" 60#define JIT_F_CPUSTRING ""
57#endif 61#endif