From 816c4bdb613b01330f418a0ee4d5db1fa7f433d0 Mon Sep 17 00:00:00 2001 From: Chi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com> Date: Mon, 12 May 2025 00:18:43 +0800 Subject: [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. --- docs/COMPILE.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/COMPILE.md') 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 -- cgit 1.4.1