aboutsummaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_arch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 4df3e8d2..6811e1b3 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -131,6 +131,7 @@
131#define LJ_TARGET_EHRETREG 0 131#define LJ_TARGET_EHRETREG 0
132#define LJ_TARGET_MASKSHIFT 1 132#define LJ_TARGET_MASKSHIFT 1
133#define LJ_TARGET_MASKROT 1 133#define LJ_TARGET_MASKROT 1
134#define LJ_TARGET_UNALIGNED 1
134#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE_DUAL 135#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE_DUAL
135 136
136#elif LUAJIT_TARGET == LUAJIT_ARCH_X64 137#elif LUAJIT_TARGET == LUAJIT_ARCH_X64
@@ -145,6 +146,7 @@
145#define LJ_TARGET_JUMPRANGE 31 /* +-2^31 = +-2GB */ 146#define LJ_TARGET_JUMPRANGE 31 /* +-2^31 = +-2GB */
146#define LJ_TARGET_MASKSHIFT 1 147#define LJ_TARGET_MASKSHIFT 1
147#define LJ_TARGET_MASKROT 1 148#define LJ_TARGET_MASKROT 1
149#define LJ_TARGET_UNALIGNED 1
148#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE_DUAL 150#define LJ_ARCH_NUMMODE LJ_NUMMODE_SINGLE_DUAL
149 151
150#elif LUAJIT_TARGET == LUAJIT_ARCH_ARM 152#elif LUAJIT_TARGET == LUAJIT_ARCH_ARM
@@ -388,6 +390,10 @@
388#define LJ_64 1 390#define LJ_64 1
389#endif 391#endif
390 392
393#ifndef LJ_TARGET_UNALIGNED
394#define LJ_TARGET_UNALIGNED 0
395#endif
396
391/* Various workarounds for embedded operating systems. */ 397/* Various workarounds for embedded operating systems. */
392#if defined(__ANDROID__) || defined(__symbian__) 398#if defined(__ANDROID__) || defined(__symbian__)
393#define LUAJIT_NO_LOG2 399#define LUAJIT_NO_LOG2