diff options
Diffstat (limited to 'isa/rv32mi')
-rw-r--r-- | isa/rv32mi/Makefrag | 5 | ||||
-rw-r--r-- | isa/rv32mi/zicntr.S | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/isa/rv32mi/Makefrag b/isa/rv32mi/Makefrag index 5359fb3..d871990 100644 --- a/isa/rv32mi/Makefrag +++ b/isa/rv32mi/Makefrag @@ -12,9 +12,10 @@ rv32mi_sc_tests = \ scall \ sbreak \ shamt \ - lw-misaligned \ - lh-misaligned \ + lw-misaligned \ + lh-misaligned \ sh-misaligned \ sw-misaligned \ + zicntr \ rv32mi_p_tests = $(addprefix rv32mi-p-, $(rv32mi_sc_tests)) diff --git a/isa/rv32mi/zicntr.S b/isa/rv32mi/zicntr.S new file mode 100644 index 0000000..17e5f48 --- /dev/null +++ b/isa/rv32mi/zicntr.S @@ -0,0 +1,8 @@ +# See LICENSE for license details. + +#include "riscv_test.h" +#undef RVTEST_RV64M +#define RVTEST_RV64M RVTEST_RV32M +#define __MACHINE_MODE + +#include "../rv64mi/zicntr.S" |