diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-04-10 12:40:17 +0200 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-04-10 12:40:17 +0200 |
commit | 94510c02f2baa85ce0fc803a0abb80c627e7d315 (patch) | |
tree | 30582690e98be501cd362f8d24cfbdf78c144156 | |
parent | 818584be7c61ebdf2687e30d57439416818b95e4 (diff) | |
download | fail-master.tar.gz fail-master.tar.xz fail-master.zip |
Closes #2.
-rw-r--r-- | fail.c | 2 |
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 |