diff options
| author | Chi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com> | 2025-05-12 00:18:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-11 18:18:43 +0200 |
| commit | 816c4bdb613b01330f418a0ee4d5db1fa7f433d0 (patch) | |
| tree | 2e902d03031f2d1bc66090356cccfac703053bb3 /docs/COMPILE.md | |
| parent | a9ddd396c4e5feca0276f78cf6f21373db596082 (diff) | |
| download | box64-816c4bdb613b01330f418a0ee4d5db1fa7f433d0.tar.gz box64-816c4bdb613b01330f418a0ee4d5db1fa7f433d0.zip | |
[DOCS] Include RV64 and LARCH64 DynaRec options (#2621)
Previously the README only mentioned `-DARM_DYNAREC=1`. CMakeLists.txt also defines `RV64_DYNAREC` and `LARCH64_DYNAREC`, so this expands the docs to list all dynamic-recompilation flags.
Diffstat (limited to 'docs/COMPILE.md')
| -rw-r--r-- | docs/COMPILE.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/COMPILE.md b/docs/COMPILE.md index 2e1ce3be..2afd2cc5 100644 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -257,9 +257,11 @@ Add `-DCMAKE_BUILD_TYPE=RelWithDebInfo` option for an optimized build with debug To have a trace enabled build (***the interpreter will be slightly slower***), add `-DHAVE_TRACE=1`. You will need the [Zydis library](https://github.com/zyantific/zydis) in your `LD_LIBRARY_PATH` or in the system library folders at runtime to get x86 trace. Use version v3.2.1, as later versions have changed the API and no longer work with box64. -#### Build ARM DynaRec +#### Build DynaRec -Add `-DARM_DYNAREC=1` option to enable DynaRec on ARM machines. +Add `-D ARM_DYNAREC=ON` option to enable DynaRec on ARM machines. +Add `-D RV64_DYNAREC=ON` option to enable DynaRec on RV64 machines. +Add `-D LARCH64_DYNAREC=ON` option to enable DynaRec on LARCH64 machines. #### Save memory at run time |