Moved some privileged tests to be simulated.

This commit is contained in:
David Harris 2022-05-12 04:45:41 +00:00
parent 9999f69922
commit aa452b2f38
3 changed files with 15 additions and 9 deletions

View File

@ -9,7 +9,7 @@ use warnings;
import os;
if ($#ARGV != 0) {
die("Usage: $0 workpath [e.g. $0 $WALLY/addins/riscv-arch-test/work")
die("Usage: $0 workpath [e.g. $0 \$WALLY/addins/riscv-arch-test/work")
}
my $mypath = $ARGV[0];
my @dirs = glob($mypath.'/*/*');

View File

@ -36,6 +36,9 @@ rv32i_sc_tests = \
WALLY-misa-01 \
WALLY-amo \
WALLY-lrsc \
WALLY-status-mie-01 \
WALLY-trap-sret-01 \
target_tests_nosim = \
WALLY-pma \
@ -43,15 +46,15 @@ target_tests_nosim = \
WALLY-stvec-01 \
WALLY-mie-01 \
WALLY-sie-01 \
WALLY-status-mie-01 \
WALLY-status-sie-01 \
WALLY-trap-sret-01 \
WALLY-trap-01 \
WALLY-trap-s-01 \
WALLY-trap-u-01 \
WALLY-status-tw-01 \
WALLY-wfi-01 \
WALLY-status-fp-enabled-01 \
WALLY-status-sie-01 \
WALLY-status-tw-01 \
# unclear why wfi, status-fp-enabled, status-sie, and status-tw fail
rv32i_tests = $(addsuffix .elf, $(rv32i_sc_tests))

View File

@ -38,6 +38,10 @@ rv64i_sc_tests = \
WALLY-amo \
WALLY-lrsc \
WALLY-trap-sret-01 \
WALLY-status-mie-01 \
WALLY-status-sie-01 \
WALLY-status-tw-01 \
# Don't simulate these because they rely on SoC features that Spike does not offer.
target_tests_nosim = \
@ -47,14 +51,13 @@ target_tests_nosim = \
WALLY-stvec-01 \
WALLY-mie-01 \
WALLY-sie-01 \
WALLY-status-mie-01 \
WALLY-status-sie-01 \
WALLY-trap-01 \
WALLY-trap-s-01 \
WALLY-trap-u-01 \
WALLY-status-tw-01 \
WALLY-wfi-01 \
WALLY-status-fp-enabled-01 \
WALLY-wfi-01 \
# unclear why status-fp-enabled and wfi aren't simulating ok
rv64i_tests = $(addsuffix .elf, $(rv64i_sc_tests))