aboutsummaryrefslogtreecommitdiff
path: root/spike_main
diff options
context:
space:
mode:
authorChih-Min Chao <chihmin.chao@sifive.com>2020-05-27 00:52:59 -0700
committerChih-Min Chao <chihmin.chao@sifive.com>2020-05-28 22:36:14 -0700
commitf5983b39c583971b8443b9f16705cbfb1588dbf5 (patch)
tree7253b1326823f05f051060a9e36bfe9635d0d9f3 /spike_main
parentfb84a685a89603eb91bd36261addc0fd13d2b576 (diff)
downloadriscv-isa-sim-f5983b39c583971b8443b9f16705cbfb1588dbf5.zip
riscv-isa-sim-f5983b39c583971b8443b9f16705cbfb1588dbf5.tar.gz
riscv-isa-sim-f5983b39c583971b8443b9f16705cbfb1588dbf5.tar.bz2
rvv: add new singed/unsiged extension instructions
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
Diffstat (limited to 'spike_main')
-rw-r--r--spike_main/disasm.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc
index 4ec3d4b..975b5f7 100644
--- a/spike_main/disasm.cc
+++ b/spike_main/disasm.cc
@@ -919,6 +919,14 @@ disassembler_t::disassembler_t(int xlen)
//VRXUNARY0
DISASM_INSN("vmv.s.x", vmv_s_x, 0, {&vd, &xrs1});
+ //VXUNARY0
+ DISASM_INSN("vzext.vf2", vzext_vf2, 0, {&vd, &vs2, &opt, &vm});
+ DISASM_INSN("vsext.vf2", vsext_vf2, 0, {&vd, &vs2, &opt, &vm});
+ DISASM_INSN("vzext.vf4", vzext_vf4, 0, {&vd, &vs2, &opt, &vm});
+ DISASM_INSN("vsext.vf4", vsext_vf4, 0, {&vd, &vs2, &opt, &vm});
+ DISASM_INSN("vzext.vf8", vzext_vf8, 0, {&vd, &vs2, &opt, &vm});
+ DISASM_INSN("vsext.vf8", vsext_vf8, 0, {&vd, &vs2, &opt, &vm});
+
//VMUNARY0
DISASM_INSN("vmsbf.m", vmsbf_m, 0, {&vd, &vs2, &opt, &vm});
DISASM_INSN("vmsof.m", vmsof_m, 0, {&vd, &vs2, &opt, &vm});