aboutsummaryrefslogtreecommitdiff
path: root/riscv/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/decode.h')
-rw-r--r--riscv/decode.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/decode.h b/riscv/decode.h
index 48079c1..a1ad547 100644
--- a/riscv/decode.h
+++ b/riscv/decode.h
@@ -555,6 +555,7 @@ static inline bool is_overlapped(const int astart, const int asize,
#define VI_LOOP_MASK(op) \
require(P.VU.vsew <= e64); \
+ require_vector;\
reg_t vl = P.VU.vl; \
for (reg_t i = P.VU.vstart; i < vl; ++i) { \
int mlen = P.VU.vmlen; \