aboutsummaryrefslogtreecommitdiff
path: root/spike_main/disasm.cc
diff options
context:
space:
mode:
Diffstat (limited to 'spike_main/disasm.cc')
-rw-r--r--spike_main/disasm.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc
index 293539f..d52cc91 100644
--- a/spike_main/disasm.cc
+++ b/spike_main/disasm.cc
@@ -886,21 +886,27 @@ disassembler_t::disassembler_t(int xlen)
DISASM_OPIV_S___INSN(vredmin, 1);
DISASM_OPIV_S___INSN(vredmaxu, 0);
DISASM_OPIV_S___INSN(vredmax, 1);
- DISASM_INSN("vmv.x.s", vmv_x_s, 0, {&xrd, &vs2});
- DISASM_INSN("vmv.s.x", vmv_s_x, 0, {&vd, &xrs1});
DISASM_OPIV__X__INSN(vslide1up, 1);
DISASM_OPIV__X__INSN(vslide1down,1);
//0b01_0000
+ //VWXUNARY0
+ DISASM_INSN("vmv.x.s", vmv_x_s, 0, {&xrd, &vs2});
DISASM_INSN("vpopc.m", vpopc_m, 0, {&xrd, &vs2, &opt, &vm});
- //vmuary0
DISASM_INSN("vfirst.m", vfirst_m, 0, {&xrd, &vs2, &opt, &vm});
+
+ //VRXUNARY0
+ DISASM_INSN("vmv.s.x", vmv_s_x, 0, {&vd, &xrs1});
+
+ //VMUNARY0
DISASM_INSN("vmsbf.m", vmsbf_m, 0, {&vd, &vs2, &opt, &vm});
DISASM_INSN("vmsof.m", vmsof_m, 0, {&vd, &vs2, &opt, &vm});
DISASM_INSN("vmsif.m", vmsif_m, 0, {&vd, &vs2, &opt, &vm});
DISASM_INSN("viota.m", viota_m, 0, {&vd, &vs2, &opt, &vm});
DISASM_INSN("vid.v", vid_v, 0, {&vd, &opt, &vm});
+ DISASM_INSN("vid.v", vid_v, 0, {&vd, &opt, &vm});
+
DISASM_INSN("vcompress.vm", vcompress_vm, 0, {&vd, &vs2, &vs1});
DISASM_OPIV_M___INSN(vmandnot, 1);