summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/src/cpu.lua
diff options
context:
space:
mode:
author 987123879113 <63495610+987123879113@users.noreply.github.com>2025-01-14 00:44:16 +0900
committer GitHub <noreply@github.com>2025-01-14 02:44:16 +1100
commitaa5cd150b3e159d342b7bb0778f7517fe5c4ed1a (patch)
treebca15924bf754254052364067778850c49922701 /scripts/src/cpu.lua
parent4dab319804dc2a81769937acafc486ffc750b61d (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.lua19
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