From: Frédéric Pétrot <frederic.petrot@univ-grenoble-alpes.fr>
The CBO instructions were, AFAIU, disassembled erroneously.
In addition, lq (load-quad, a RV128 instruction) shares the same
opcode space as the CBOs, which also led to incorrect dasm for that
instruction (understandable since RV128 is an experimental feature).
To avoid overlaps, we now require that lq is decoded only if
rd is not 0, as CBO requires the field corresponding to rd to be zero,
both in dasm and decodetree.
The last patch corrects the original indentation that was making
checkpatch unhappy.
Frédéric Pétrot (3):
disas/riscv.c: Correct wrong shifts for cbo
disas/riscv.c: Correct disasm of lq
disas/riscv.c: Correct indent for checkpatch
disas/riscv.c | 38 +++++++++++++++++++-------------------
target/riscv/insn32.decode | 2 ++
2 files changed, 21 insertions(+), 19 deletions(-)
--
2.43.0