mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-12 09:24:07 +00:00
ARM: Disable CPU detection for interpreter-only builds.
This commit is contained in:
parent
c56ae9f6ef
commit
1c5fbd4c1d
@ -577,6 +577,7 @@ static uint32_t jit_cpudetect(lua_State *L)
|
||||
#endif
|
||||
#endif
|
||||
#elif LJ_TARGET_ARM
|
||||
#if LJ_HASJIT
|
||||
/* Compile-time ARM CPU detection. */
|
||||
#if __ARM_ARCH_7__ || __ARM_ARCH_7A__ || __ARM_ARCH_7R__
|
||||
flags |= JIT_F_ARMV6|JIT_F_ARMV6T2|JIT_F_ARMV7;
|
||||
@ -598,6 +599,7 @@ static uint32_t jit_cpudetect(lua_State *L)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
#elif LJ_TARGET_PPC || LJ_TARGET_PPCSPE
|
||||
/* Nothing to do. */
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user