riscv-isa-sim icon indicating copy to clipboard operation
riscv-isa-sim copied to clipboard

[Bug Report] When vs1 is in front of vs2, the instruction decoded by disasm is wrong.

Open joii2020 opened this issue 2 years ago • 2 comments

eg.

vmaccm vm vs2 rs1 6 vd 0x57
101101 0 11101 00011 110 01011 1010111
0 29 3 11

vmacc.vx v11, v29, gp, v0.t vmacc.vx vd, rs1, vs2, vm

When calling disassembler_t::disassemble input: 0xb5d1e5d7 expected: vmacc.vx v11, gp, v29, v0.t results: vmacc.vx v11, v29, gp, v0.t

joii2020 avatar Aug 04 '22 09:08 joii2020

Can you clarify what the expected behavior is vs the actual behavior?

scottj97 avatar Aug 08 '22 18:08 scottj97

Can you clarify what the expected behavior is vs the actual behavior?

Sorry, it has now been corrected

joii2020 avatar Aug 11 '22 01:08 joii2020