RISC-V: don't disassemble unrecognized insns as .byte
authorJan Beulich <jbeulich@suse.com>
Fri, 3 Feb 2023 07:20:32 +0000 (08:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 3 Feb 2023 07:20:32 +0000 (08:20 +0100)
commit0655669b86e8651244187561b2d29f49c2a4646b
tree976b47bb089adcd4da7ab52eb57f3c569fa03ca0
parent96e034530e092e8b746e00d13086c1138a84504b
RISC-V: don't disassemble unrecognized insns as .byte

Insn width granularity being 16 bits, producing byte granular output
isn't very useful. With there being a way to specific otherwise
unknown insns to the assembler, use that same representation (to be
precise: its <length>,<encoding> flavor) for disassembly.
binutils/testsuite/binutils-all/riscv/unknown.d
gas/testsuite/gas/riscv/insn-na.d
gas/testsuite/gas/riscv/insn.d
opcodes/riscv-dis.c