about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-04-26 12:14:20 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-04-26 12:14:20 +0200
commitb6be4f8ddee560682890aa15316a1386599a08cc (patch)
tree051a0f4070edab90ca8fc324e0373b7d6ef31a1d
parent68a31c902a3467b570146ae3726af42619bbfce5 (diff)
downloadbox64-b6be4f8ddee560682890aa15316a1386599a08cc.tar.gz
box64-b6be4f8ddee560682890aa15316a1386599a08cc.zip
[DYNAREC] Defaulting to not tagging HotPage, it seems to work generaly better without now
-rwxr-xr-xdocs/USAGE.md4
-rwxr-xr-xsrc/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md
index 0bd7f327..32744566 100755
--- a/docs/USAGE.md
+++ b/docs/USAGE.md
@@ -184,8 +184,8 @@ Optimisation of CALL/RET opcodes (not compatible with jit/dynarec/smc)
 

 #### BOX64_DYNAREC_HOTPAGE *

 Handling of HotPage (Page being both executed and written)

-* 0 : Don't track hotpage

-* 1-255 : Track HotPage, and disable execution of a page being written for N attempts (default is 4)

+* 0 : Don't track hotpage (Default)

+* 1-255 : Track HotPage, and disable execution of a page being written for N attempts

 

 #### BOX64_DYNAREC_FASTPAGE *

 Will use a faster handling of HotPage (Page being both executed and written)

diff --git a/src/main.c b/src/main.c
index a8b0cff3..f4b7a239 100755
--- a/src/main.c
+++ b/src/main.c
@@ -58,7 +58,7 @@ int box64_dynarec_fastnan = 1;
 int box64_dynarec_fastround = 1;
 int box64_dynarec_safeflags = 1;
 int box64_dynarec_callret = 0;
-int box64_dynarec_hotpage = 4;
+int box64_dynarec_hotpage = 0;
 int box64_dynarec_fastpage = 0;
 int box64_dynarec_bleeding_edge = 1;
 int box64_dynarec_wait = 1;