diff options
Diffstat (limited to 'riscv/insns/vsuxei16_v.h')
-rw-r--r-- | riscv/insns/vsuxei16_v.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/riscv/insns/vsuxei16_v.h b/riscv/insns/vsuxei16_v.h new file mode 100644 index 0000000..98435f6 --- /dev/null +++ b/riscv/insns/vsuxei16_v.h @@ -0,0 +1,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; +}; |