aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spike_main/disasm.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/spike_main/disasm.cc b/spike_main/disasm.cc
index 4ce81ca..0c13cdb 100644
--- a/spike_main/disasm.cc
+++ b/spike_main/disasm.cc
@@ -842,7 +842,9 @@ disassembler_t::disassembler_t(int xlen)
#define DISASM_OPIV_W___INSN(name, sign) \
add_insn(new disasm_insn_t(#name ".wv", match_##name##_wv, mask_##name##_wv, \
- {&vd, &vs2, &vs1, &opt, &vm}));
+ {&vd, &vs2, &vs1, &opt, &vm})); \
+ add_insn(new disasm_insn_t(#name ".wx", match_##name##_wv, mask_##name##_wv, \
+ {&vd, &vs2, &xrs1, &opt, &vm}));
#define DISASM_OPIV_M___INSN(name, sign) \
add_insn(new disasm_insn_t(#name ".mm", match_##name##_mm, mask_##name##_mm, \