Retro68/binutils/ld/testsuite/ld-pru/relax_ldi32-dis.d
2017-10-07 02:16:47 +02:00

28 lines
783 B
D

#name: PRU LDI32 relaxation
#source: relax_ldi32.s
#source: relax_ldi32_symbol.s
#as: --mlink-relax
#ld: --relax
#objdump: -dr --prefix-addresses
# Test the LDI32 relaxation
.*: +file format elf32-pru
Disassembly of section .text:
..000000 <[^>]*> ldi r16, 48879
..000004 <[^>]*> ldi r16.w2, 57005
..000008 <[^>]*> loop ..00003c <__end_loop>, r22
..00000c <[^>]*> ldi r16, 48879
..000010 <[^>]*> ldi r16.w2, 57005
..000014 <[^>]*> ldi r16, 52938
..000018 <[^>]*> ldi r0, 52938
..00001c <[^>]*> ldi r16, 52938
..000020 <[^>]*> ldi r16.w2, 1
..000024 <[^>]*> ldi r16, 48879
..000028 <[^>]*> ldi r16.w2, 57004
..00002c <[^>]*> ldi r16, 22136
..000030 <[^>]*> ldi r16.w2, 4660
..000034 <[^>]*> ldi r16, 22136
..000038 <[^>]*> ldi r16, 16
..00003c <[^>]*> qba ..000008 <__intermediate>