blob: 1055ecaac3f522faa05e3889d48574c90b7ef7c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// vlxe.v and vlxseg[2-8]e.v
reg_t sew = P.VU.vsew;
require((insn.rs2() & (P.VU.vlmul - 1)) == 0);
VI_DUPLICATE_VREG(insn.rs2(), P.VU.vlmax);
if (sew == e8) {
VI_LD(index[i], fn, int8, 1);
} else if (sew == e16) {
VI_LD(index[i], fn, int16, 2);
} else if (sew == e32) {
VI_LD(index[i], fn, int32, 4);
} else if (sew == e64) {
VI_LD(index[i], fn, int64, 8);
}
|