diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-03 03:47:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 03:47:04 +0200 |
commit | c5ca8675c84ca73375cf3fe2ade257c8aa5c1239 (patch) | |
tree | 3752d42f7abb111cee5d2e45b8b1950f31b42a26 | |
parent | Merge pull request #6131 from german77/rightjoyconSLSR (diff) | |
parent | arm_dynarmic: Increase size of code cache (diff) | |
download | yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.tar yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.tar.gz yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.tar.bz2 yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.tar.lz yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.tar.xz yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.tar.zst yuzu-c5ca8675c84ca73375cf3fe2ade257c8aa5c1239.zip |
m--------- | externals/dynarmic | 0 | ||||
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_32.cpp | 4 | ||||
-rw-r--r-- | src/core/arm/dynarmic/arm_dynarmic_64.cpp | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/externals/dynarmic b/externals/dynarmic -Subproject d0372aebafcb02e6857ba1fc8e01bfadfcf30f9 +Subproject c788bcdf17e6bc1d1a1dd315106b952013f5ecb diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp index 4b2a62b4f..08d889135 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp @@ -137,6 +137,10 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable* // Timing config.wall_clock_cntpct = uses_wall_clock; + // Code cache size + config.code_cache_size = 512 * 1024 * 1024; + config.far_code_offset = 256 * 1024 * 1024; + // Safe optimizations if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) { if (!Settings::values.cpuopt_page_tables) { diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp index 083c2bdee..e12e50658 100644 --- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp +++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp @@ -177,6 +177,10 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable* // Timing config.wall_clock_cntpct = uses_wall_clock; + // Code cache size + config.code_cache_size = 512 * 1024 * 1024; + config.far_code_offset = 256 * 1024 * 1024; + // Safe optimizations if (Settings::values.cpu_accuracy == Settings::CPUAccuracy::DebugMode) { if (!Settings::values.cpuopt_page_tables) { |