-Subproject commit 5c613fe43d1bc44e6ae408b5356c7d60d93a1ca0
+Subproject commit 92fb0bd7d7d2723f90896bb351f5cdb0eb36b73b
scall \
sbreak \
shamt \
- wfi \
rv32mi_mc_tests = \
ipi \
+++ /dev/null
-# See LICENSE for license details.
-
-#include "riscv_test.h"
-#undef RVTEST_RV64S
-#define RVTEST_RV64S RVTEST_RV32M
-#define __MACHINE_MODE
-
-#include "../rv64si/wfi.S"
RVTEST_RV64S
RVTEST_CODE_BEGIN
- # Make sure wfi doesn't stall if an interrupt is pending, even if masked
+ # Make sure wfi doesn't halt the hart, even if interrupts are disabled
csrc sstatus, SSTATUS_SIE
- csrs sip, MIP_SSIP
+ csrs sie, SIP_SSIP
+ csrs sip, SIP_SSIP
wfi
RVTEST_PASS