[ARM64] Initial commit for arm64 backend
Based entirely off existing xbyak x86 implementation and available tests. Still needs a lot of optimization and testing on non-Windows platforms. So far passes all tests and boots at least some games on Windows.
This commit is contained in:
12
src/xenia/cpu/backend/a64/CMakeLists.txt
Normal file
12
src/xenia/cpu/backend/a64/CMakeLists.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
add_library(xenia-cpu-backend-a64 STATIC)
|
||||
xe_platform_sources(xenia-cpu-backend-a64 ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
target_compile_definitions(xenia-cpu-backend-a64 PRIVATE
|
||||
CAPSTONE_HAS_ARM64
|
||||
CAPSTONE_USE_SYS_DYN_MEM
|
||||
)
|
||||
target_include_directories(xenia-cpu-backend-a64 PRIVATE
|
||||
${PROJECT_SOURCE_DIR}/third_party/capstone/include
|
||||
${PROJECT_SOURCE_DIR}/third_party/xbyak_aarch64/xbyak_aarch64
|
||||
)
|
||||
target_link_libraries(xenia-cpu-backend-a64 PUBLIC capstone fmt xenia-base xenia-cpu xbyak_aarch64)
|
||||
xe_target_defaults(xenia-cpu-backend-a64)
|
||||
Reference in New Issue
Block a user