aboutsummaryrefslogtreecommitdiff
path: root/src/lj_jit.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-06-09 20:54:34 +0200
committerMike Pall <mike>2012-06-09 20:54:34 +0200
commit37be8a54785b893f531679adb0b479a426938504 (patch)
tree933b0320e158361c69fa5f4332247d201eb02187 /src/lj_jit.h
parent9f443e8b8919e094100bf1eb94981aec905be783 (diff)
downloadluajit-37be8a54785b893f531679adb0b479a426938504.tar.gz
luajit-37be8a54785b893f531679adb0b479a426938504.tar.bz2
luajit-37be8a54785b893f531679adb0b479a426938504.zip
CONSOLE: Handle unimplemented features for console toolchains.
Diffstat (limited to 'src/lj_jit.h')
-rw-r--r--src/lj_jit.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/lj_jit.h b/src/lj_jit.h
index dd0c08d8..6d317a9e 100644
--- a/src/lj_jit.h
+++ b/src/lj_jit.h
@@ -34,6 +34,16 @@
34/* Names for the CPU-specific flags. Must match the order above. */ 34/* Names for the CPU-specific flags. Must match the order above. */
35#define JIT_F_CPU_FIRST JIT_F_ARMV6 35#define JIT_F_CPU_FIRST JIT_F_ARMV6
36#define JIT_F_CPUSTRING "\5ARMv6\7ARMv6T2\5ARMv7" 36#define JIT_F_CPUSTRING "\5ARMv6\7ARMv6T2\5ARMv7"
37#elif LJ_TARGET_PPC
38#define JIT_F_PPC64 0x00000010
39#define JIT_F_SQRT 0x00000020
40#define JIT_F_ROUND 0x00000040
41#define JIT_F_CELL 0x00000080
42#define JIT_F_XENON 0x00000100
43
44/* Names for the CPU-specific flags. Must match the order above. */
45#define JIT_F_CPU_FIRST JIT_F_PPC64
46#define JIT_F_CPUSTRING "\5PPC64\4SQRT\5ROUND\4CELL\5XENON"
37#elif LJ_TARGET_MIPS 47#elif LJ_TARGET_MIPS
38#define JIT_F_MIPS32R2 0x00000010 48#define JIT_F_MIPS32R2 0x00000010
39 49