aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64mi/wfi.S
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2015-05-19 02:28:59 -0700
committerAndrew Waterman <waterman@cs.berkeley.edu>2015-05-19 02:28:59 -0700
commit80538e49f76fca845e1aa45e6033cd7648975779 (patch)
tree6980e674fee7c4a10c1a92e34a65ba61caea46b3 /isa/rv64mi/wfi.S
parentf63ce2ad06a4d4e5d35c75fbdeec8b1ab00f3d87 (diff)
downloadriscv-tests-80538e49f76fca845e1aa45e6033cd7648975779.zip
riscv-tests-80538e49f76fca845e1aa45e6033cd7648975779.tar.gz
riscv-tests-80538e49f76fca845e1aa45e6033cd7648975779.tar.bz2
Add basic WFI test
Diffstat (limited to 'isa/rv64mi/wfi.S')
-rw-r--r--isa/rv64mi/wfi.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/isa/rv64mi/wfi.S b/isa/rv64mi/wfi.S
new file mode 100644
index 0000000..bfb130e
--- /dev/null
+++ b/isa/rv64mi/wfi.S
@@ -0,0 +1,8 @@
+# See LICENSE for license details.
+
+#include "riscv_test.h"
+#undef RVTEST_RV64S
+#define RVTEST_RV64S RVTEST_RV64M
+#define __MACHINE_MODE
+
+#include "../rv64si/wfi.S"