aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vsxei32_v.h
blob: 296c8bb21adc2a34450d7b135242899bc7f6a0f0 (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
// vsxei32.v and vsxseg[2-8]ei32.v
VI_DUPLICATE_VREG(insn.rs2(), 32);

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;
};