aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKito Cheng <kito.cheng@sifive.com>2020-11-03 14:46:29 +0800
committerKito Cheng <kito.cheng@sifive.com>2020-11-04 13:12:11 +0800
commit5678d6adc4f9962ba0faff835b4b10c1c2453d44 (patch)
tree9745de44a9b17072276fc0028c21f6cb85e8e883 /README.md
parent6afb838dbe701bf2b87c50b848718d0970374efa (diff)
downloadriscv-gnu-toolchain-5678d6adc4f9962ba0faff835b4b10c1c2453d44.zip
riscv-gnu-toolchain-5678d6adc4f9962ba0faff835b4b10c1c2453d44.tar.gz
riscv-gnu-toolchain-5678d6adc4f9962ba0faff835b4b10c1c2453d44.tar.bz2
Update doc for running testsuite with simulator other than qemu
Diffstat (limited to 'README.md')
-rw-r--r--README.md16
1 files changed, 11 insertions, 5 deletions
diff --git a/README.md b/README.md
index ace2b99..1f3cc89 100644
--- a/README.md
+++ b/README.md
@@ -129,15 +129,21 @@ configure. See './configure --help' for more details.
### Test Suite
-The DejaGnu test suite has been ported to RISC-V. This can run with GDB
-simulator for elf toolchain or Qemu for linux toolchain, and GDB simulator
-doesn't support floating-point.
+The Dejagnu test suite has been ported to RISC-V. This can be run with a
+simulator for the elf and linux toolchains. The simulator can be selected
+by the SIM variable in the Makefile, e.g. SIM=qemu, SIM=gdb, or SIM=spike
+(experimental). However, the testsuite allowlist is only mintained for qemu.
+Other simulators might get extra failures.
To test GCC, run the following commands:
./configure --prefix=$RISCV --disable-linux --with-arch=rv64ima # or --with-arch=rv32ima
make newlib
- make report-newlib
+ make report-newlib SIM=gdb # Run with gdb simulator
./configure --prefix=$RISCV
make linux
- make report-linux
+ make report-linux SIM=qemu # Run with qemu
+
+Note:
+- spike only support rv64* bare-metal/elf toolchain.
+- gdb simulator only support bare-metal/elf toolchain.