aboutsummaryrefslogtreecommitdiff
path: root/isa
diff options
context:
space:
mode:
authorDaniel Lustig <dlustig@nvidia.com>2021-07-21 17:50:43 -0400
committerGitHub <noreply@github.com>2021-07-21 14:50:43 -0700
commitba136064eeb7d68d735deb2346c77812212927d3 (patch)
tree79d7b2cf6f2a16b31f0c8c949c511a995360b691 /isa
parent133856db5b8b3c0db249cae574154cdc2e50f3a5 (diff)
downloadriscv-tests-ba136064eeb7d68d735deb2346c77812212927d3.zip
riscv-tests-ba136064eeb7d68d735deb2346c77812212927d3.tar.gz
riscv-tests-ba136064eeb7d68d735deb2346c77812212927d3.tar.bz2
Move the Svnapot test to its own folder (#351)
...since not all implementations will support it
Diffstat (limited to 'isa')
-rw-r--r--isa/Makefile2
-rw-r--r--isa/rv64si/Makefrag1
-rw-r--r--isa/rv64ssvnapot/Makefrag8
-rw-r--r--isa/rv64ssvnapot/napot.S (renamed from isa/rv64si/napot.S)0
4 files changed, 10 insertions, 1 deletions
diff --git a/isa/Makefile b/isa/Makefile
index 892ed72..a514cb2 100644
--- a/isa/Makefile
+++ b/isa/Makefile
@@ -15,6 +15,7 @@ include $(src_dir)/rv64uf/Makefrag
include $(src_dir)/rv64ud/Makefrag
include $(src_dir)/rv64uzfh/Makefrag
include $(src_dir)/rv64si/Makefrag
+include $(src_dir)/rv64ssvnapot/Makefrag
include $(src_dir)/rv64mi/Makefrag
endif
include $(src_dir)/rv32ui/Makefrag
@@ -95,6 +96,7 @@ $(eval $(call compile_template,rv64uf,-march=rv64g -mabi=lp64))
$(eval $(call compile_template,rv64ud,-march=rv64g -mabi=lp64))
$(eval $(call compile_template,rv64uzfh,-march=rv64g_zfh -mabi=lp64))
$(eval $(call compile_template,rv64si,-march=rv64g -mabi=lp64))
+$(eval $(call compile_template,rv64ssvnapot,-march=rv64g -mabi=lp64))
$(eval $(call compile_template,rv64mi,-march=rv64g -mabi=lp64))
endif
diff --git a/isa/rv64si/Makefrag b/isa/rv64si/Makefrag
index dbd1d56..604005c 100644
--- a/isa/rv64si/Makefrag
+++ b/isa/rv64si/Makefrag
@@ -7,7 +7,6 @@ rv64si_sc_tests = \
dirty \
icache-alias \
ma_fetch \
- napot \
scall \
wfi \
sbreak \
diff --git a/isa/rv64ssvnapot/Makefrag b/isa/rv64ssvnapot/Makefrag
new file mode 100644
index 0000000..79e1f2a
--- /dev/null
+++ b/isa/rv64ssvnapot/Makefrag
@@ -0,0 +1,8 @@
+#=======================================================================
+# Makefrag for rv64ssvnapot tests
+#-----------------------------------------------------------------------
+
+rv64ssvnapot_sc_tests = \
+ napot \
+
+rv64ssvnapot_p_tests = $(addprefix rv64ssvnapot-p-, $(rv64ssvnapot_sc_tests))
diff --git a/isa/rv64si/napot.S b/isa/rv64ssvnapot/napot.S
index 3d62e6c..3d62e6c 100644
--- a/isa/rv64si/napot.S
+++ b/isa/rv64ssvnapot/napot.S