aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vlxe_v.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vlxe_v.h')
-rw-r--r--riscv/insns/vlxe_v.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/riscv/insns/vlxe_v.h b/riscv/insns/vlxe_v.h
index b1190a8..1055eca 100644
--- a/riscv/insns/vlxe_v.h
+++ b/riscv/insns/vlxe_v.h
@@ -1,5 +1,6 @@
// vlxe.v and vlxseg[2-8]e.v
reg_t sew = P.VU.vsew;
+require((insn.rs2() & (P.VU.vlmul - 1)) == 0);
VI_DUPLICATE_VREG(insn.rs2(), P.VU.vlmax);
if (sew == e8) {
VI_LD(index[i], fn, int8, 1);