summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/drcbec.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-01-16 06:24:11 +1100
committer Vas Crabb <vas@vastheman.com>2025-01-16 06:30:13 +1100
commit26d8e47c002f7aa0efd2a6db56a5f48108e1c79c (patch)
tree12b60332c9db368e3f2301b992349ebc753e045d /src/devices/cpu/drcbec.cpp
parent8cfc62f24d0b8f6f4c3a727e2c2546f9467a773d (diff)
DRC cleanup and minor optimisation: [Windy Fairy, Vas Crabb]
* Build all native back-ends if any native back-end is enabled so errors caused by changing interfaces can be found faster. * cpu/drcbeut.cpp: Moved resolved member function stuff to a place where it can be shared by back-ends. * cpu/drcbearm64.cpp: Use ubfx instruction to extract unordered flag. * cpu/drcbearm64.cpp, cpu/drcbex64.cpp: Bypass trampolines when calling get map variable value and debugger instruction hook functions. * cpu/drcbearm64.cpp: Moved some internal helpers that don't need to be members to anonymous namespace. * cpu/drcbearm64.cpp: Added a comment with some info to help when debugging generated code. * cpu/drcbec.cpp: Put code in the drc namespace.
Diffstat (limited to 'src/devices/cpu/drcbec.cpp')
-rw-r--r--src/devices/cpu/drcbec.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/devices/cpu/drcbec.cpp b/src/devices/cpu/drcbec.cpp
index c058d256a18..8758b1989c7 100644
--- a/src/devices/cpu/drcbec.cpp
+++ b/src/devices/cpu/drcbec.cpp
@@ -14,6 +14,8 @@
#include <cmath>
+namespace drc {
+
using namespace uml;
@@ -2436,3 +2438,5 @@ uint64_t drcbe_c::tzcount64(uint64_t value)
}
return 64;
}
+
+} // namespace drc