aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--isa/Makefile2
-rw-r--r--isa/rvall/Makefrag5
-rw-r--r--isa/rvall/empty.S23
3 files changed, 30 insertions, 0 deletions
diff --git a/isa/Makefile b/isa/Makefile
index 636cbbe..e3f0781 100644
--- a/isa/Makefile
+++ b/isa/Makefile
@@ -11,6 +11,7 @@ include $(src_dir)/rv64mi/Makefrag
include $(src_dir)/rv32ui/Makefrag
include $(src_dir)/rv32si/Makefrag
include $(src_dir)/rv32mi/Makefrag
+include $(src_dir)/rvall/Makefrag
default: all
@@ -60,6 +61,7 @@ tests += $$($(1)_tests)
endef
+$(eval $(call compile_template,rvall))
$(eval $(call compile_template,rv32ui,-m32))
$(eval $(call compile_template,rv32si,-m32))
$(eval $(call compile_template,rv32mi,-m32))
diff --git a/isa/rvall/Makefrag b/isa/rvall/Makefrag
new file mode 100644
index 0000000..2cdedd7
--- /dev/null
+++ b/isa/rvall/Makefrag
@@ -0,0 +1,5 @@
+rvall_sc_tests = empty
+
+rvall_p_tests = $(addprefix rvall-p-, $(rvall_sc_tests))
+
+spike_tests += $(rvall_p_tests)
diff --git a/isa/rvall/empty.S b/isa/rvall/empty.S
new file mode 100644
index 0000000..5c2dae9
--- /dev/null
+++ b/isa/rvall/empty.S
@@ -0,0 +1,23 @@
+# See LICENSE for license details.
+
+#*****************************************************************************
+# add.S
+#-----------------------------------------------------------------------------
+#
+# Test add instruction.
+#
+
+#include "riscv_test.h"
+#include "test_macros.h"
+
+RVTEST_RV64U
+RVTEST_CODE_BEGIN
+
+RVTEST_CODE_END
+
+ .data
+RVTEST_DATA_BEGIN
+
+ TEST_DATA
+
+RVTEST_DATA_END