diff options
author | 2025-01-14 00:44:16 +0900 | |
---|---|---|
committer | 2025-01-14 02:44:16 +1100 | |
commit | aa5cd150b3e159d342b7bb0778f7517fe5c4ed1a (patch) | |
tree | bca15924bf754254052364067778850c49922701 /scripts/src/cpu.lua | |
parent | 4dab319804dc2a81769937acafc486ffc750b61d (diff) |
cpu/drcbearm64.cpp: Added a 64-bit ARMv8 (AArch64) DRC back-end. (#13162)
* cpu/uml.cpp: Removed unused vector type.
* 3rdparty/asmjit: Update asmjit to latest upstream.
* cpu/drcbex64.cpp: Fixed crash with LOG_HASHJMPS enabled (stack needs to be 16-byte aligned before calling debug_log_hashjmp_fail).
Diffstat (limited to 'scripts/src/cpu.lua')
-rw-r--r-- | scripts/src/cpu.lua | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/scripts/src/cpu.lua b/scripts/src/cpu.lua index 2598688fe97..8d115a91ed0 100644 --- a/scripts/src/cpu.lua +++ b/scripts/src/cpu.lua @@ -42,12 +42,19 @@ if (CPU_INCLUDE_DRC) then MAME_DIR .. "src/devices/cpu/drcumlsh.h", } if not _OPTIONS["FORCE_DRC_C_BACKEND"] then - files { - MAME_DIR .. "src/devices/cpu/drcbex64.cpp", - MAME_DIR .. "src/devices/cpu/drcbex64.h", - MAME_DIR .. "src/devices/cpu/drcbex86.cpp", - MAME_DIR .. "src/devices/cpu/drcbex86.h", - } + if (_OPTIONS["PLATFORM"]=="arm64") then + files { + MAME_DIR .. "src/devices/cpu/drcbearm64.cpp", + MAME_DIR .. "src/devices/cpu/drcbearm64.h", + } + else + files { + MAME_DIR .. "src/devices/cpu/drcbex64.cpp", + MAME_DIR .. "src/devices/cpu/drcbex64.h", + MAME_DIR .. "src/devices/cpu/drcbex86.cpp", + MAME_DIR .. "src/devices/cpu/drcbex86.h", + } + end end if _OPTIONS["targetos"]=="macosx" and _OPTIONS["gcc"]~=nil then |