aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 6b5cd1bd..54d5cd22 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -179,7 +179,9 @@
179#define LJ_TARGET_UNIFYROT 2 /* Want only IR_BROR. */ 179#define LJ_TARGET_UNIFYROT 2 /* Want only IR_BROR. */
180#define LJ_ARCH_NUMMODE LJ_NUMMODE_DUAL 180#define LJ_ARCH_NUMMODE LJ_NUMMODE_DUAL
181 181
182#if __ARM_ARCH_7__ || __ARM_ARCH_7A__ || __ARM_ARCH_7R__ || __ARM_ARCH_7S__ 182#if __ARM_ARCH____ARM_ARCH_8__ || __ARM_ARCH_8A__
183#define LJ_ARCH_VERSION 80
184#elif __ARM_ARCH_7__ || __ARM_ARCH_7A__ || __ARM_ARCH_7R__ || __ARM_ARCH_7S__ || __ARM_ARCH_7VE__
183#define LJ_ARCH_VERSION 70 185#define LJ_ARCH_VERSION 70
184#elif __ARM_ARCH_6T2__ 186#elif __ARM_ARCH_6T2__
185#define LJ_ARCH_VERSION 61 187#define LJ_ARCH_VERSION 61
@@ -356,6 +358,9 @@
356#if defined(__mips_soft_float) 358#if defined(__mips_soft_float)
357#error "No support for MIPS CPUs without FPU" 359#error "No support for MIPS CPUs without FPU"
358#endif 360#endif
361#if defined(_LP64)
362#error "No support for MIPS64"
363#endif
359#endif 364#endif
360#endif 365#endif
361 366