Browse Source

rvv: missing vector enabling check for mask operation

Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
pull/443/head
Chih-Min Chao 6 years ago
parent
commit
942662a233
  1. 1
      riscv/decode.h

1
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; \

Loading…
Cancel
Save