diff options
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r-- | src/lj_jit.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h index 5a51357e..2d2e833a 100644 --- a/src/lj_jit.h +++ b/src/lj_jit.h | |||
@@ -19,10 +19,11 @@ | |||
19 | #define JIT_F_SSE4_1 0x00000040 | 19 | #define JIT_F_SSE4_1 0x00000040 |
20 | #define JIT_F_PREFER_IMUL 0x00000080 | 20 | #define JIT_F_PREFER_IMUL 0x00000080 |
21 | #define JIT_F_LEA_AGU 0x00000100 | 21 | #define JIT_F_LEA_AGU 0x00000100 |
22 | #define JIT_F_BMI2 0x00000200 | ||
22 | 23 | ||
23 | /* Names for the CPU-specific flags. Must match the order above. */ | 24 | /* Names for the CPU-specific flags. Must match the order above. */ |
24 | #define JIT_F_CPU_FIRST JIT_F_SSE2 | 25 | #define JIT_F_CPU_FIRST JIT_F_SSE2 |
25 | #define JIT_F_CPUSTRING "\4SSE2\4SSE3\6SSE4.1\3AMD\4ATOM" | 26 | #define JIT_F_CPUSTRING "\4SSE2\4SSE3\6SSE4.1\3AMD\4ATOM\4BMI2" |
26 | #elif LJ_TARGET_ARM | 27 | #elif LJ_TARGET_ARM |
27 | #define JIT_F_ARMV6_ 0x00000010 | 28 | #define JIT_F_ARMV6_ 0x00000010 |
28 | #define JIT_F_ARMV6T2_ 0x00000020 | 29 | #define JIT_F_ARMV6T2_ 0x00000020 |