diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-03-27 23:21:36 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-03-27 23:21:36 +0200 |
| commit | 9f75f28e7a464734bab8e719c1a60178280b224d (patch) | |
| tree | 6c7d9c2d1e1c4d307e7acfbcbf92b04c7e83dea1 /docs | |
| parent | feb4a394577ea152b60393875860c551a7573adf (diff) | |
| download | box64-9f75f28e7a464734bab8e719c1a60178280b224d.tar.gz box64-9f75f28e7a464734bab8e719c1a60178280b224d.zip | |
[DYNAREC] Added BOX64_DYNAREC_TEST to run interpeter and dynarec at the same time and compare states
Diffstat (limited to 'docs')
| -rwxr-xr-x | docs/USAGE.md | 5 | ||||
| -rw-r--r-- | docs/box64.pod | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/docs/USAGE.md b/docs/USAGE.md index 354f3070..0bd7f327 100755 --- a/docs/USAGE.md +++ b/docs/USAGE.md @@ -133,6 +133,11 @@ Enables/Disables trace for generated code. Forbid dynablock creation in the interval specified (helpfull for debugging behaviour difference between Dynarec and Interpreter) * 0xXXXXXXXX-0xYYYYYYYY : define the interval where dynablock cannot start (inclusive-exclusive) +#### BOX64_DYNAREC_TEST * +Dynarec will compare it's execution with the interpreter (super slow, only for testing) + * 0 : No comparison + * 1 : Each opcode runs on interepter and on Dynarec, and regs and memory are compared and print if different + #### BOX64_DYNAREC_BIGBLOCK * Enables/Disables Box64's Dynarec building BigBlock. * 0 : Don't try to build block as big as possible (can help program using lots of thread and a JIT, like C#/Unity) (Default when libmonobdwgc-2.0.so is loaded) diff --git a/docs/box64.pod b/docs/box64.pod index 07957c4e..b5c89f58 100644 --- a/docs/box64.pod +++ b/docs/box64.pod @@ -261,6 +261,14 @@ down the program a lot and generate huge logs. Forbid dynablock creation in the interval specified (helpfull for debugging behaviour difference between Dynarec and Interpretor) +=item B<BOX64_DYNAREC_TEST>=I<0|1> + +Enables/Disables test for generated code. This will run interpreter along the Dynacrec, so this will slow +down the program a lot. + + * 0 : No test for generated code. (Default.) + * 1 : Enable Tests for generated code + =item B<BOX64_DYNAREC_BIGBLOCK>=I<0|1|2|3> Enables/Disables Box64's Dynarec building BigBlock. |