Skip to content

Commit a98a6c3

Browse files
committed
Update guides to run prebuilt executables
Close #514
1 parent 1821908 commit a98a6c3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/prebuilt.md

+12
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ During testing or benchmarking, these binaries are automatically downloaded into
66
The RISC-V binaries are compiled using the [xPack RISC-V GCC toolchain](https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack) with the options `-march=rv32im -mabi=ilp32`.
77
The x86 binaries are compiled by GCC with `-m32 -mno-sse -mno-sse2 -msoft-float` options and use [ieeelib](https://github.com/sysprog21/ieeelib) as the soft-fp library.
88

9+
## Get executables
10+
911
To fetch the prebuilt binaries manually, run:
1012

1113
```shell
@@ -67,3 +69,13 @@ There are still some prebuilt standalone RISC-V binaries under `build/` director
6769
- `jit-bf.elf` : See [ezaki-k/xkon_beta](https://github.com/ezaki-k/xkon_beta)
6870
- `readelf.elf` : See [tests/readelf](/tests/readelf)
6971
- `smolnes.elf` : See [tests/smolnes](/tests/smolnes.c) [RV32M]
72+
73+
## Run benchmarks
74+
75+
Some benchmarks need the pre-allocated 4GB address space. Use the following command to enable it:
76+
77+
```shell
78+
$ make ENABLE_FULL4G=1 <your-config>
79+
$ build/rv32emu <benchmark>
80+
```
81+

0 commit comments

Comments
 (0)