aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vlxe_v.h
blob: 889a19e227a5629a01d68c64ae58f17e00c63024 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// vlxe.v and vlxseg[2-8]e.v
reg_t sew = P.VU.vsew;
VI_DUPLICATE_VREG(insn.rs2(), P.VU.vlmax);
if (sew == e8) {
  VI_LD_INDEX(index[i], fn, int8,  1, true);
} else if (sew == e16) {
  VI_LD_INDEX(index[i], fn, int16, 2, true);
} else if (sew == e32) {
  VI_LD_INDEX(index[i], fn, int32, 4, true);
} else if (sew == e64) {
  VI_LD_INDEX(index[i], fn, int64, 8, true);
}