about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-04-10 12:40:17 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-04-10 12:40:17 +0200
commit94510c02f2baa85ce0fc803a0abb80c627e7d315 (patch)
tree30582690e98be501cd362f8d24cfbdf78c144156
parent818584be7c61ebdf2687e30d57439416818b95e4 (diff)
downloadfail-master.tar.gz
fail-master.tar.xz
fail-master.zip
illegalins: risc-v support HEAD master
Closes #2.
-rw-r--r--fail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fail.c b/fail.c
index a054e6e..b1d3191 100644
--- a/fail.c
+++ b/fail.c
@@ -127,6 +127,8 @@ void illegalins()
 	__asm__ __volatile__ (".word 0x00800011" : : : "memory");
 #elif defined(__powerpc__)
 	__asm__ __volatile__ (".long 0" : : : "memory");
+#elif defined(__riscv)
+	__asm__ __volatile__ ("unimp" : : : "memory");
 #else
 	#error implement illegalins for this architecture
 #endif