Add rv32si tests, including illegality of shamt[5]
[riscv-tests.git] / isa / rv32si / csr.S
diff --git a/isa/rv32si/csr.S b/isa/rv32si/csr.S
new file mode 100644 (file)
index 0000000..c229b50
--- /dev/null
@@ -0,0 +1,14 @@
+#*****************************************************************************
+# csr.S
+#-----------------------------------------------------------------------------
+#
+# Test CSRRx and CSRRxI instructions.
+#
+
+#include "riscv_test.h"
+#include "test_macros.h"
+
+#undef RVTEST_RV64S
+#define RVTEST_RV64S RVTEST_RV32S
+
+#include "../rv64si/csr.S"