ARM64: Enable unaligned accesses if indicated by the toolchain.
If you get a crash in jit_init() then you need to fix your toolchain.
This commit is contained in:
@@ -304,6 +304,10 @@
|
||||
#define LJ_PAGESIZE 16384
|
||||
#define LJ_ARCH_NUMMODE LJ_NUMMODE_DUAL
|
||||
|
||||
#if __ARM_FEATURE_UNALIGNED
|
||||
#define LJ_TARGET_UNALIGNED 1
|
||||
#endif
|
||||
|
||||
#define LJ_ARCH_VERSION 80
|
||||
|
||||
#elif LUAJIT_TARGET == LUAJIT_ARCH_PPC
|
||||
|
||||
Reference in New Issue
Block a user