aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vsxei8_v.h
blob: 355223c24a164672dab390068ee05c1618d38254 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// vsxei8.v and vsxseg[2-8]ei8.v
VI_DUPLICATE_VREG(insn.rs2(), 8);

switch(P.VU.vsew) {
  case e8: {
      VI_ST_INDEX(index[i], fn, uint8, true);
    }
    break;
  case e16: {
      VI_ST_INDEX(index[i], fn, uint16, true);
    }
    break;
  case e32: {
      VI_ST_INDEX(index[i], fn, uint32, true);
    }
    break;
  case e64: {
      VI_ST_INDEX(index[i], fn, uint64, true);
    }
    break;
  default:
    require(0);
    break;
};