aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
authorMike Pall <mike>2012-01-23 22:20:28 +0100
committerMike Pall <mike>2012-01-23 22:24:11 +0100
commit5bed11e6b4c2bbf0cbec0f00efe998289236b217 (patch)
tree5ed76367d5157df37b358a5874d34a21dc7d60b0 /src/lj_arch.h
parent7d2774e4c5ee7c649ccb41f75bfbbb1e7f370a96 (diff)
downloadluajit-5bed11e6b4c2bbf0cbec0f00efe998289236b217.tar.gz
luajit-5bed11e6b4c2bbf0cbec0f00efe998289236b217.tar.bz2
luajit-5bed11e6b4c2bbf0cbec0f00efe998289236b217.zip
MIPS: Add interpreter. Enable MIPS build rules.
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 3a52c212..4b680306 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -188,13 +188,14 @@
188 188
189#elif LUAJIT_TARGET == LUAJIT_ARCH_MIPS 189#elif LUAJIT_TARGET == LUAJIT_ARCH_MIPS
190 190
191#define LJ_ARCH_NAME "mips"
192#define LJ_ARCH_BITS 32
193#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) 191#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL)
192#define LJ_ARCH_NAME "mipsel"
194#define LJ_ARCH_ENDIAN LUAJIT_LE 193#define LJ_ARCH_ENDIAN LUAJIT_LE
195#else 194#else
195#define LJ_ARCH_NAME "mips"
196#define LJ_ARCH_ENDIAN LUAJIT_BE 196#define LJ_ARCH_ENDIAN LUAJIT_BE
197#endif 197#endif
198#define LJ_ARCH_BITS 32
198#define LJ_ARCH_HASFPU 1 199#define LJ_ARCH_HASFPU 1
199#define LJ_TARGET_MIPS 1 200#define LJ_TARGET_MIPS 1
200#define LJ_TARGET_EHRETREG 4 201#define LJ_TARGET_EHRETREG 4
@@ -203,7 +204,6 @@
203#define LJ_TARGET_MASKROT 1 204#define LJ_TARGET_MASKROT 1
204#define LJ_TARGET_UNIFYROT 2 /* Want only IR_BROR. */ 205#define LJ_TARGET_UNIFYROT 2 /* Want only IR_BROR. */
205#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE 206#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE
206#define LJ_ARCH_NOFFI 1
207#define LJ_ARCH_NOJIT 1 207#define LJ_ARCH_NOJIT 1
208 208
209#else 209#else