diff options
author | Mike Pall <mike> | 2020-01-20 22:15:45 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2020-01-20 22:15:45 +0100 |
commit | 94d0b53004a5fa368defa4307a17edcdb87fe727 (patch) | |
tree | 2468fb7d60f39ccadcd696d333c83ef49f3dfc02 /src/lj_jit.h | |
parent | dfa692b746c9de067857d5fc992a41730be3d99a (diff) | |
download | luajit-94d0b53004a5fa368defa4307a17edcdb87fe727.tar.gz luajit-94d0b53004a5fa368defa4307a17edcdb87fe727.tar.bz2 luajit-94d0b53004a5fa368defa4307a17edcdb87fe727.zip |
MIPS: Add MIPS64 R6 port.
Contributed by Hua Zhang, YunQiang Su from Wave Computing,
and Radovan Birdic from RT-RK.
Sponsored by Wave Computing.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 5d41ef4b..0d9a9afe 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -51,10 +51,18 @@ | |||
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_MIPSXXR2 | 52 | #define JIT_F_CPU_FIRST JIT_F_MIPSXXR2 |
53 | #if LJ_TARGET_MIPS32 | 53 | #if LJ_TARGET_MIPS32 |
54 | #if LJ_TARGET_MIPSR6 | ||
55 | #define JIT_F_CPUSTRING "\010MIPS32R6" | ||
56 | #else | ||
54 | #define JIT_F_CPUSTRING "\010MIPS32R2" | 57 | #define JIT_F_CPUSTRING "\010MIPS32R2" |
58 | #endif | ||
59 | #else | ||
60 | #if LJ_TARGET_MIPSR6 | ||
61 | #define JIT_F_CPUSTRING "\010MIPS64R6" | ||
55 | #else | 62 | #else |
56 | #define JIT_F_CPUSTRING "\010MIPS64R2" | 63 | #define JIT_F_CPUSTRING "\010MIPS64R2" |
57 | #endif | 64 | #endif |
65 | #endif | ||
58 | #else | 66 | #else |
59 | #define JIT_F_CPU_FIRST 0 | 67 | #define JIT_F_CPU_FIRST 0 |
60 | #define JIT_F_CPUSTRING "" | 68 | #define JIT_F_CPUSTRING "" |