MIPS: Add MIPS64 R6 port.
Contributed by Hua Zhang, YunQiang Su from Wave Computing, and Radovan Birdic from RT-RK. Sponsored by Wave Computing.
This commit is contained in:
@@ -51,10 +51,18 @@
|
||||
/* Names for the CPU-specific flags. Must match the order above. */
|
||||
#define JIT_F_CPU_FIRST JIT_F_MIPSXXR2
|
||||
#if LJ_TARGET_MIPS32
|
||||
#if LJ_TARGET_MIPSR6
|
||||
#define JIT_F_CPUSTRING "\010MIPS32R6"
|
||||
#else
|
||||
#define JIT_F_CPUSTRING "\010MIPS32R2"
|
||||
#endif
|
||||
#else
|
||||
#if LJ_TARGET_MIPSR6
|
||||
#define JIT_F_CPUSTRING "\010MIPS64R6"
|
||||
#else
|
||||
#define JIT_F_CPUSTRING "\010MIPS64R2"
|
||||
#endif
|
||||
#endif
|
||||
#else
|
||||
#define JIT_F_CPU_FIRST 0
|
||||
#define JIT_F_CPUSTRING ""
|
||||
|
||||
Reference in New Issue
Block a user