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>
47 lines
1.0 KiB
D
47 lines
1.0 KiB
D
#source: relax-max-align-gp.s
|
|
#ld:
|
|
#objdump: -d
|
|
|
|
.*:[ ]+file format .*
|
|
|
|
|
|
Disassembly of section .text:
|
|
|
|
0+[0-9a-f]+ <_start>:
|
|
.*:[ ]+[0-9a-f]+[ ]+addi[ ]+.*<gdata>
|
|
.*:[ ]+[0-9a-f]+[ ]+jal[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+j[ ]+.*
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ ]+[0-9a-f]+[ ]+nop
|
|
.*:[ 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