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/vsxei64_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/vsxei64_v.h')
-rw-r--r-- | riscv/insns/vsxei64_v.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/riscv/insns/vsxei64_v.h b/riscv/insns/vsxei64_v.h index b5d286f..88ddaf3 100644 --- a/riscv/insns/vsxei64_v.h +++ b/riscv/insns/vsxei64_v.h @@ -1,24 +1,2 @@ // vsxei64.v and vsxseg[2-8]ei64.v -VI_DUPLICATE_VREG(insn.rs2(), 64); - -switch(P.VU.vsew) { - case e8: { - VI_ST_INDEX(index[i], fn, uint8, true); - } - break; - case e16: { - VI_ST_INDEX(index[i], fn, uint16, true); - } - break; - case e32: { - VI_ST_INDEX(index[i], fn, uint32, true); - } - break; - case e64: { - VI_ST_INDEX(index[i], fn, uint64, true); - } - break; - default: - require(0); - break; -}; +VI_ST_INDEX(e64, true); |