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-25 18:28:19 +0800
committerGitHub <noreply@github.com>2024-11-25 11:28:19 +0100
commit84608fc581546076d6a34ae18c864eb8cde6ddae (patch)
treec746c42a1af7b04b3ac0d0988297661aef9d0b77 /docs/USAGE.md
parentc30a392fe863aca59a6be34c03c0fa226b576de8 (diff)
downloadbox64-84608fc581546076d6a34ae18c864eb8cde6ddae.tar.gz
box64-84608fc581546076d6a34ae18c864eb8cde6ddae.zip
[ARM64_DYNAREC] Added DYNAREC_PAUSE option for hint instructions (#2070)
* [ARM64_DYNAREC] Added DYNAREC_PAUSE option for hint instructions

* Use sevl for wfe

* Add docs

* Fix typo

* use switch case
Diffstat (limited to 'docs/USAGE.md')
-rw-r--r--docs/USAGE.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md
index c349d66c..260c4063 100644
--- a/docs/USAGE.md
+++ b/docs/USAGE.md
@@ -179,6 +179,13 @@ Tweaking the memory barriers to reduce the performance impact by STRONGMEM
 * 1 : Use weak barriers to have more performance boost

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

 

+#### BOX64_DYNAREC_PAUSE *

+Enable/Disable x86 PAUSE emulation, which may help the performance of spinlocks

+* 0 : Ignore x86 PAUSE instruction (Default.)

+* 1 : Use YIELD to emulate x86 PAUSE instruction

+* 2 : Use WFI to emulate x86 PAUSE instruction

+* 3 : Use SEVL+WFE to emulate x86 PAUSE instruction

+

 #### BOX64_DYNAREC_X87DOUBLE *

 Force the use of Double for x87 emulation

 * 0 : Try to use float when possible for x87 emulation (default, faster)