aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_arch.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index c66a11c8..a114bdda 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -304,6 +304,13 @@
304#define LJ_TARGET_UNIFYROT 2 /* Want only IR_BROR. */ 304#define LJ_TARGET_UNIFYROT 2 /* Want only IR_BROR. */
305#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE 305#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE
306 306
307#if !defined(LJ_ARCH_HASFPU) && defined(__mips_soft_float)
308#define LJ_ARCH_HASFPU 0
309#endif
310#if !defined(LJ_ABI_SOFTFP) && defined(__mips_soft_float)
311#define LJ_ABI_SOFTFP 1
312#endif
313
307#if _MIPS_ARCH_MIPS32R2 314#if _MIPS_ARCH_MIPS32R2
308#define LJ_ARCH_VERSION 20 315#define LJ_ARCH_VERSION 20
309#else 316#else
@@ -386,9 +393,6 @@
386#error "No support for PPC/e500 anymore (use LuaJIT 2.0)" 393#error "No support for PPC/e500 anymore (use LuaJIT 2.0)"
387#endif 394#endif
388#elif LJ_TARGET_MIPS 395#elif LJ_TARGET_MIPS
389#if defined(__mips_soft_float)
390#error "No support for MIPS CPUs without FPU"
391#endif
392#if defined(_LP64) 396#if defined(_LP64)
393#error "No support for MIPS64" 397#error "No support for MIPS64"
394#endif 398#endif