aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vrgather_vx.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vrgather_vx.h')
-rw-r--r--riscv/insns/vrgather_vx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/riscv/insns/vrgather_vx.h b/riscv/insns/vrgather_vx.h
index d6c2e38..e9ff3b1 100644
--- a/riscv/insns/vrgather_vx.h
+++ b/riscv/insns/vrgather_vx.h
@@ -1,6 +1,6 @@
// vrgather.vx vd, vs2, rs1, vm # vd[i] = (rs1 >= VLMAX) ? 0 : vs2[rs1];
require(P.VU.vsew >= e8 && P.VU.vsew <= e64);
-require(!P.VU.vill);
+require_vector;
reg_t vl = P.VU.vl;
reg_t sew = P.VU.vsew;
reg_t rd_num = insn.rd();