aboutsummaryrefslogtreecommitdiff
path: root/spike_main
diff options
context:
space:
mode:
Diffstat (limited to 'spike_main')
-rw-r--r--spike_main/disasm.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc
index 82cebcd..bae3d51 100644
--- a/spike_main/disasm.cc
+++ b/spike_main/disasm.cc
@@ -319,9 +319,12 @@ struct : public arg_t {
std::stringstream s;
int sew = insn.v_sew();
int lmul = insn.v_lmul();
+ auto vta = insn.v_vta() == 1 ? "ta" : "tu";
+ auto vma = insn.v_vma() == 1 ? "ma" : "mu";
s << "e" << sew;
if (lmul != 1)
s << ",m" << lmul;
+ s << ", " << vta << ", " << vma;
return s.str();
}
} v_vtype;