about summary refs log tree commit diff stats
path: root/docs
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-11-21 01:59:20 +0800
committerGitHub <noreply@github.com>2024-11-20 18:59:20 +0100
commit9757d1b67aa51f6e7d4a5f535953a708ce6711bc (patch)
tree0c4b761b31afaf1accf8b3131b13f6b38e1ecdba /docs
parent5422b108af4213228ad7a41e3e4353fb3115b324 (diff)
downloadbox64-9757d1b67aa51f6e7d4a5f535953a708ce6711bc.tar.gz
box64-9757d1b67aa51f6e7d4a5f535953a708ce6711bc.zip
[ARM64_DYNAREC] More optimizations on strongmem emulation (#2051)
Diffstat (limited to 'docs')
-rw-r--r--docs/USAGE.md6
-rw-r--r--docs/box64.pod6
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md
index 41b7e54b..c349d66c 100644
--- a/docs/USAGE.md
+++ b/docs/USAGE.md
@@ -169,15 +169,15 @@ Define Box64's Dynarec max allowed forward value when building Block.
 #### BOX64_DYNAREC_STRONGMEM *

 Enable/Disable simulation of Strong Memory model

 * 0 : Don't try anything special (Default.)

-* 1 : Enable some memory barriers when writting to memory to simulate the Strong Memory Model in a limited way (Default when libmonobdwgc-2.0.so is loaded)

+* 1 : Enable some memory barriers when writing to memory to simulate the Strong Memory Model in a limited way (Default when libmonobdwgc-2.0.so is loaded)

 * 2 : All 1. plus memory barriers on SIMD instructions

 * 3 : All 2. plus more memory barriers on a regular basis

 

 #### BOX64_DYNAREC_WEAKBARRIER *

-Use weak memory barriers to reduce the performance impact by STRONGMEM

+Tweaking the memory barriers to reduce the performance impact by STRONGMEM

 * 0 : Use regular safe barrier (Default.)

 * 1 : Use weak barriers to have more performance boost

-* 2 : Disable the last write barriers to have even more performance boost

+* 2 : All 1. Plus disabled the last write barriers

 

 #### BOX64_DYNAREC_X87DOUBLE *

 Force the use of Double for x87 emulation

diff --git a/docs/box64.pod b/docs/box64.pod
index 19f6e8a2..e1acdb2b 100644
--- a/docs/box64.pod
+++ b/docs/box64.pod
@@ -296,17 +296,17 @@ Define Box64's Dynarec max allowed forward value when building Block.
 Enable/Disable simulation of Strong Memory model
 
     * 0 : Don't try anything special (Default.)
-    * 1 : Enable some memory barriers when writting to memory to simulate the Strong Memory Model in a limited way (Default when libmonobdwgc-2.0.so is loaded)
+    * 1 : Enable some memory barriers when writing to memory to simulate the Strong Memory Model in a limited way (Default when libmonobdwgc-2.0.so is loaded)
     * 2 : All 1. plus memory barriers on SIMD instructions
     * 3 : All 2. plus more memory barriers on a regular basis
 
 =item B<BOX64_DYNAREC_WEAKBARRIER>=I<0|1>
 
-Use weak memory barriers to reduce the performance impact by STRONGMEM
+Tweaking the memory barriers to reduce the performance impact by STRONGMEM
 
     * 0 : Use regular safe barrier (Default.)
     * 1 : Use weak barriers to have more performance boost
-    * 2 : Disable the last write barriers to have even more performance boost
+    * 2 : All 1. Plus disabled the last write barriers
 
 =item B<BOX64_DYNAREC_X87DOUBLE>=I<0|1>