1 #name
: NIOS2 relax_cjmp
3 #ld
: --relax
-Trelax_jmp
.ld
5 #objdump
: -dr
--prefix
-addresses
7 # Test relaxation of conditional jumps
9 .*: +file format elf32
-littlenios2
11 Disassembly of section text2
:
12 00000000 <[^
>]*> bge r2
,r3
,00008000 <[^
>]*>
13 00000004 <[^
>]*> bge r2
,r3
,00000014 <[^
>]*>
14 00000008 <[^
>]*> movhi at
,1
15 0000000c
<[^
>]*> ori at
,at
,24
16 00000010 <[^
>]*> jmp at
17 00000014 <[^
>]*> bge r3
,r2
,00000020 <sym
>
22 Disassembly of section text1
:
23 00008000 <[^
>]*> beq r2
,r3
,00010000 <on_border
>
24 00008004 <[^
>]*> bne r2
,r3
,00008014 <[^
>]*>
25 00008008 <[^
>]*> movhi at
,1
26 0000800c
<[^
>]*> ori at
,at
,24
27 00008010 <[^
>]*> jmp at
31 00010000 <on_border
> bne r2
,r3
,00010018 <in_range
>
37 00010018 <in_range
> nop