aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authormerry <git@mary.rs>2022-02-27 19:40:05 +0000
committermerry <git@mary.rs>2022-02-27 19:40:05 +0000
commit16784e5bb3dd043f9430401097a4be42ad21eb91 (patch)
treed09e952371f9e7e90aecba4d8b4e9654d10c50a2 /src/common/settings.cpp
parent96d90be59ff0637790936221eefa151beef60330 (diff)
dynarmic: Inline exclusive memory accesses
Inlines implementation of exclusive instructions into JITted code, improving performance of applications relying heavily on these instructions. We also fastmem these instructions for additional speed, with support for appropriate recompilation on fastmem failure. An unsafe optimization to disable the intercore global_monitor is also provided, should one wish to rely solely on cmpxchg semantics for safety. See also: merryhime/dynarmic#664
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 2810cec15f..877e0faa44 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -176,6 +176,7 @@ void RestoreGlobalState(bool is_powered_on) {
values.cpuopt_unsafe_ignore_standard_fpcr.SetGlobal(true);
values.cpuopt_unsafe_inaccurate_nan.SetGlobal(true);
values.cpuopt_unsafe_fastmem_check.SetGlobal(true);
+ values.cpuopt_unsafe_ignore_global_monitor.SetGlobal(true);
// Renderer
values.renderer_backend.SetGlobal(true);