about summary refs log tree commit diff stats
path: root/docs/USAGE.md
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2024-11-20 02:59:43 +0800
committerGitHub <noreply@github.com>2024-11-19 19:59:43 +0100
commit81e4e26dc51b85720fbc3ba2ffe68030e5d227fa (patch)
treecc6b62f68664f88fafccad7517a463ea55b56735 /docs/USAGE.md
parent4f6a66f9c60f20c97059215d076effc3c9fafd7f (diff)
downloadbox64-81e4e26dc51b85720fbc3ba2ffe68030e5d227fa.tar.gz
box64-81e4e26dc51b85720fbc3ba2ffe68030e5d227fa.zip
[ARM64_DYNAREC] Re-enable weakbarrier for dmb.ishst (#2048)
Diffstat (limited to 'docs/USAGE.md')
-rw-r--r--docs/USAGE.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md
index 379d82dd..eb94ff18 100644
--- a/docs/USAGE.md
+++ b/docs/USAGE.md
@@ -169,9 +169,14 @@ 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 Barrier when writting to memory (on some MOV opcode) to simulate Strong Memory Model while trying to limit performance impact (Default when libmonobdwgc-2.0.so is loaded)

-* 2 : All 1. plus a memory barrier on every write to memory using MOV

-* 3 : All 2. plus Memory Barrier when reading from memory and on some SSE/SSE2 opcodes too

+* 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)

+* 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

+* 0 : Use regular safe barrier (Default.)

+* 1 : Use weak barriers to have more performance boost

 

 #### BOX64_DYNAREC_X87DOUBLE *

 Force the use of Double for x87 emulation