aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vlse_v.h
blob: 940431ea3cd647e5fe600d35ab2fe80e27bf2db9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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);
}

VI_CHECK_1905