aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/vlxei16_v.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscv/insns/vlxei16_v.h')
-rw-r--r--riscv/insns/vlxei16_v.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/riscv/insns/vlxei16_v.h b/riscv/insns/vlxei16_v.h
index 0905b58..6e4ed49 100644
--- a/riscv/insns/vlxei16_v.h
+++ b/riscv/insns/vlxei16_v.h
@@ -1,24 +1,2 @@
// 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;
-};
+VI_LD_INDEX(e16, true);