diff options
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 63584355..ea2dd4ad 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -26,6 +26,14 @@ | |||
26 | /* Names for the CPU-specific flags. Must match the order above. */ | 26 | /* Names for the CPU-specific flags. Must match the order above. */ |
27 | #define JIT_F_CPU_FIRST JIT_F_CMOV | 27 | #define JIT_F_CPU_FIRST JIT_F_CMOV |
28 | #define JIT_F_CPUSTRING "\4CMOV\4SSE2\4SSE3\6SSE4.1\2P4\3AMD\2K8\4ATOM" | 28 | #define JIT_F_CPUSTRING "\4CMOV\4SSE2\4SSE3\6SSE4.1\2P4\3AMD\2K8\4ATOM" |
29 | #elif LJ_TARGET_ARM | ||
30 | #define JIT_F_ARMV6 0x00000010 | ||
31 | #define JIT_F_ARMV6T2 0x00000020 | ||
32 | #define JIT_F_ARMV7 0x00000040 | ||
33 | |||
34 | /* Names for the CPU-specific flags. Must match the order above. */ | ||
35 | #define JIT_F_CPU_FIRST JIT_F_ARMV6 | ||
36 | #define JIT_F_CPUSTRING "\5ARMv6\7ARMv6T2\5ARMv7" | ||
29 | #else | 37 | #else |
30 | #define JIT_F_CPU_FIRST 0 | 38 | #define JIT_F_CPU_FIRST 0 |
31 | #define JIT_F_CPUSTRING "" | 39 | #define JIT_F_CPUSTRING "" |