aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vsuxei16_v.h
blob: 98435f684414198dd141268999f98a1255f3ab9f (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
// vsuxe16.v
VI_DUPLICATE_VREG(insn.rs2(), 16);

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