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

if (sew == e8) {
  VI_ST(i * RS2, fn, uint8,  1, true);
} else if (sew == e16) {
  VI_ST(i * RS2, fn, uint16, 2, true);
} else if (sew == e32) {
  VI_ST(i * RS2, fn, uint32, 4, true);
} else if (sew == e64) {
  VI_ST(i * RS2, fn, uint64, 8, true);
}