RISC-V: move various alias entries
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Sep 2023 10:26:46 +0000 (12:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Sep 2023 10:26:46 +0000 (12:26 +0200)
commitf438659a6fb6cc4e388aac327c37362508f6a2c9
tree02a51dcd7f37d9c37f6949e1370766b505efdb84
parentbe3bed0696aa3beea2c9d539e08743f14bbe1db1
RISC-V: move various alias entries

For disassembly to only use spec-mandated aliases, respective non-alias
entries need to come ahead of their alias ones. Since identical
mnemonics need to stay together, whole groups are moved up where
necessary.

This partly reverts 839189bc932e ("RISC-V: re-arrange opcode table for
consistent alias handling"), but then also goes beyond a plain revert.

Reviewed-by: Tsukasa OI <research_trasio@irq.a4lg.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
32 files changed:
gas/testsuite/gas/riscv/b-ext-64-na.d [deleted file]
gas/testsuite/gas/riscv/b-ext-64.d
gas/testsuite/gas/riscv/b-ext-na.d [deleted file]
gas/testsuite/gas/riscv/b-ext.d
gas/testsuite/gas/riscv/c-zero-imm-na.d [deleted file]
gas/testsuite/gas/riscv/c-zero-imm.d
gas/testsuite/gas/riscv/c-zero-reg.d
gas/testsuite/gas/riscv/csr-insns-pseudo-zfinx.d
gas/testsuite/gas/riscv/csr-insns-pseudo.d
gas/testsuite/gas/riscv/dis-addr-addiw-a.d
gas/testsuite/gas/riscv/dis-addr-addiw-b.d
gas/testsuite/gas/riscv/dis-addr-overflow-32.d
gas/testsuite/gas/riscv/dis-addr-overflow-64.d
gas/testsuite/gas/riscv/ext-32.d
gas/testsuite/gas/riscv/ext-64.d
gas/testsuite/gas/riscv/insn.d
gas/testsuite/gas/riscv/k-ext-64.d
gas/testsuite/gas/riscv/k-ext.d
gas/testsuite/gas/riscv/li32.d
gas/testsuite/gas/riscv/li64.d
gas/testsuite/gas/riscv/lla32.d
gas/testsuite/gas/riscv/lla64.d
gas/testsuite/gas/riscv/zbkb-32.d
gas/testsuite/gas/riscv/zbkb-64.d
ld/testsuite/ld-riscv-elf/ifunc-plt-01.d
ld/testsuite/ld-riscv-elf/ifunc-plt-02.d
ld/testsuite/ld-riscv-elf/ifunc-reloc-pcrel.d
ld/testsuite/ld-riscv-elf/pcgp-relax-02.d
ld/testsuite/ld-riscv-elf/relax-max-align-gp.d
ld/testsuite/ld-riscv-elf/weakref32.d
ld/testsuite/ld-riscv-elf/weakref64.d
opcodes/riscv-opc.c