aboutsummaryrefslogtreecommitdiff
path: root/riscv/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/decode.h')
-rw-r--r--riscv/decode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index 93f1ff0..4361466 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -1538,7 +1538,7 @@ for (reg_t i = 0; i < P.VU.vlmax && P.VU.vl != 0; ++i) { \
P.VU.vemul = ((float)P.VU.veew/P.VU.vsew) * P.VU.vlmul; \
if ((P.VU.vemul > 8 && P.VU.vemul < (1/8)) || \
((P.VU.veew/P.VU.vemul) != (P.VU.vsew/P.VU.vlmul))) { \
- throw trap_illegal_instruction(0); \
+ require(0); \
}