Fixes the AArch64 JIT

Moves it to the new IR iterating style.
Forgot to clear icache after generation.
Fixes overly aggressive struct packing causing a fault
This commit is contained in:
Ryan Houdek authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:55:16 +02:00
1 parent c21f711417
commit db5467211c
3 files changed
+1060 -1030

No files matched your search

+2
View File
@@ -85,6 +85,8 @@ if (ENABLE_JIT)
endif()
if(_M_ARM_64)
add_definitions(-D_M_ARM_64=1)
add_definitions(-DVIXL_INCLUDE_TARGET_AARCH64=1)
add_definitions(-DVIXL_CODE_BUFFER_MMAP=1)
list(APPEND SRCS Interface/Core/JIT/Arm64/JIT.cpp)
list(APPEND JIT_LIBS vixl)
endif()
File diff suppressed because it is too large. Load diff
+1 -1
View File
@@ -38,7 +38,7 @@ namespace FEXCore::Core {
uint64_t RunCount; ///< Number of times this block of code has been run
};
struct __attribute__((packed)) InternalThreadState {
struct InternalThreadState {
FEXCore::Core::ThreadState State;
FEXCore::Context::Context *CTX;