aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vlxei16_v.h
blob: 0905b58f6900818c24d628f2bcc2f84c2f82a2d8 (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
// vlxei16.v and vlxseg[2-8]e16.v
VI_DUPLICATE_VREG(insn.rs2(), e16);

switch(P.VU.vsew) {
  case e8: {
      VI_LD_INDEX(index[i], fn, int8, true);
    }
    break;
  case e16: {
      VI_LD_INDEX(index[i], fn, int16, true);
    }
    break;
  case e32: {
      VI_LD_INDEX(index[i], fn, int32, true);
    }
    break;
  case e64: {
      VI_LD_INDEX(index[i], fn, int64, true);
    }
    break;
  default:
    require(0);
    break;
};