summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/riscv_test.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/p/riscv_test.h b/p/riscv_test.h
index d9d7cff..8953da1 100644
--- a/p/riscv_test.h
+++ b/p/riscv_test.h
@@ -45,6 +45,11 @@
.macro init; \
.endm
+#define RVTEST_RV32S \
+ .macro init; \
+ RVTEST_32_ENABLE; \
+ .endm
+
#define RVTEST_32_ENABLE \
li a0, SR_S64; \
csrc status, a0; \