diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-11-25 18:28:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-25 11:28:19 +0100 |
| commit | 84608fc581546076d6a34ae18c864eb8cde6ddae (patch) | |
| tree | c746c42a1af7b04b3ac0d0988297661aef9d0b77 /docs/USAGE.md | |
| parent | c30a392fe863aca59a6be34c03c0fa226b576de8 (diff) | |
| download | box64-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.md | 7 |
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) |