diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-04-09 15:19:45 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-04-09 15:19:45 +0200 |
| commit | 8c991cb6762d3a1384cec16d6e54402ce276ea9e (patch) | |
| tree | 3d109e77532ce32822efec69950b7db787368fcc /docs | |
| parent | 70770db8bec892e66fa8b6834f1ea4a8f27325b6 (diff) | |
| download | box64-8c991cb6762d3a1384cec16d6e54402ce276ea9e.tar.gz box64-8c991cb6762d3a1384cec16d6e54402ce276ea9e.zip | |
[DYNAREC] Better handling of self-loop and added CALLRET=2 settings (ARM64 only, RV64 and LA64 todo)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/USAGE.md | 1 | ||||
| -rw-r--r-- | docs/box64.pod | 3 | ||||
| -rw-r--r-- | docs/gen/usage.json | 5 |
3 files changed, 8 insertions, 1 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md index 33507f44..2a2256b3 100644 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -581,6 +581,7 @@ Optimize CALL/RET opcodes. * 0: Do not optimize CALL/RET, use jump table. [Default] * 1: Try to optimize CALL/RET, skipping the jump table when possible. + * 2: Try to optimize CALL/RET, skipping the jump table when possible, adding code to handle return to dirty/modified block. ### BOX64_DYNAREC_DF diff --git a/docs/box64.pod b/docs/box64.pod index 82e7153b..787e99cd 100644 --- a/docs/box64.pod +++ b/docs/box64.pod @@ -154,12 +154,13 @@ Detect MonoBleedingEdge and apply conservative settings. * 1 : Detect MonoBleedingEdge and apply BOX64_DYNAREC_BIGBLOCK=0 BOX64_DYNAREC_STRONGMEM=1 when detected. [Default] -=item B<BOX64_DYNAREC_CALLRET> =I<0|1> +=item B<BOX64_DYNAREC_CALLRET> =I<0|1|2> Optimize CALL/RET opcodes. * 0 : Do not optimize CALL/RET, use jump table. [Default] * 1 : Try to optimize CALL/RET, skipping the jump table when possible. + * 2 : Try to optimize CALL/RET, skipping the jump table when possible, adding code to handle return to dirty/modified block. =item B<BOX64_DYNAREC_DF> =I<0|1> diff --git a/docs/gen/usage.json b/docs/gen/usage.json index 63be95e0..d42c4dbf 100644 --- a/docs/gen/usage.json +++ b/docs/gen/usage.json @@ -239,6 +239,11 @@ "key": "1", "description": "Try to optimize CALL/RET, skipping the jump table when possible.", "default": false + }, + { + "key": "2", + "description": "Try to optimize CALL/RET, skipping the jump table when possible, adding code to handle return to dirty/modified block.", + "default": false } ] }, |