diff options
author | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-05-20 01:55:46 -0700 |
---|---|---|
committer | Chih-Min Chao <chihmin.chao@sifive.com> | 2020-05-20 11:38:45 -0700 |
commit | 5126f9ac6ba365a949e8125ea0caaa7185a0e542 (patch) | |
tree | 1deeab180cd2c740e7ac423586c62e82d7a3fa33 /riscv/insns/vsuxei64_v.h | |
parent | f3ea0d7081f5156df776ac70e245d5d63a44f03a (diff) | |
download | spike-5126f9ac6ba365a949e8125ea0caaa7185a0e542.zip spike-5126f9ac6ba365a949e8125ea0caaa7185a0e542.tar.gz spike-5126f9ac6ba365a949e8125ea0caaa7185a0e542.tar.bz2 |
rvv: refine st_index
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'riscv/insns/vsuxei64_v.h')
-rw-r--r-- | riscv/insns/vsuxei64_v.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/riscv/insns/vsuxei64_v.h b/riscv/insns/vsuxei64_v.h index ed7cb50..0c619cf 100644 --- a/riscv/insns/vsuxei64_v.h +++ b/riscv/insns/vsuxei64_v.h @@ -1,24 +1,2 @@ // vsuxe64.v -VI_DUPLICATE_VREG(insn.rs2(), 64); - -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; -}; +VI_ST_INDEX(e64, false); |