aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vlse_v.h
blob: 2ac2f294e1d0f14be4de859076aa88e574bfb508 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// vlse.v and vlsseg[2-8]e.v
reg_t sew = P.VU.vsew;

if (sew == e8) {
  VI_LD(i * RS2, fn, int8, 1);
} else if (sew == e16) {
  VI_LD(i * RS2, fn, int16, 2);
} else if (sew == e32) {
  VI_LD(i * RS2, fn, int32, 4);
} else if (sew == e64) {
  VI_LD(i * RS2, fn, int64, 8);
}