diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2024-12-03 11:25:10 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2024-12-03 11:25:10 +0100 |
| commit | 5bde45cc8695e85de56dc11ecc391bfb2b74bb38 (patch) | |
| tree | 57b7790fc2cc99e2f8a21066457dfcc3705abfb6 /src/core.c | |
| parent | ae1739f33070b2733b5472723e8f449234bb2c6d (diff) | |
| download | box64-5bde45cc8695e85de56dc11ecc391bfb2b74bb38.tar.gz box64-5bde45cc8695e85de56dc11ecc391bfb2b74bb38.zip | |
[DYNAREC] Made weakbarrier=1 and pause=3 default
Diffstat (limited to 'src/core.c')
| -rw-r--r-- | src/core.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c index 007f578a..916d90c9 100644 --- a/src/core.c +++ b/src/core.c @@ -79,8 +79,8 @@ int box64_dynarec_forced = 0; int box64_dynarec_bigblock = 1; int box64_dynarec_forward = 128; int box64_dynarec_strongmem = 0; -int box64_dynarec_weakbarrier = 0; -int box64_dynarec_pause = 0; +int box64_dynarec_weakbarrier = 1; +int box64_dynarec_pause = 3; int box64_dynarec_x87double = 0; int box64_dynarec_div0 = 0; int box64_dynarec_fastnan = 1; @@ -787,6 +787,8 @@ void LoadLogEnv() } if (box64_dynarec_weakbarrier) printf_log(LOG_INFO, "Dynarec will try to use weaker memory barriers to reduce the performance loss introduce by strong memory emulation\n"); + else + printf_log(LOG_INFO, "Dynarec will not use weakbarrier on strong memory emulation\n"); } #ifdef ARM64 p = getenv("BOX64_DYNAREC_PAUSE"); @@ -798,6 +800,8 @@ void LoadLogEnv() if (box64_dynarec_pause) printf_log(LOG_INFO, "Dynarec will use %s to emulate pause instruction\n", box64_dynarec_pause == 1 ? "yield" : (box64_dynarec_pause == 2 ? "wfi" : "wfe")); + else + printf_log(LOG_INFO, "Dynarec will generate nothing for the pause instuction\n"); } #endif p = getenv("BOX64_DYNAREC_X87DOUBLE"); |