| 1 | #objdump: -dr --prefix-addresses --show-raw-insn |
| 2 | #name: NIOS2 branch |
| 3 | |
| 4 | # Test the branch instructions. |
| 5 | dump.o: file format elf32-littlenios2 |
| 6 | |
| 7 | Disassembly of section .text: |
| 8 | 0+0000 <[^>]*> 21400026 beq r4,r5,00000004 <[^>]*> |
| 9 | [ ]*0: R_NIOS2_PCREL16 text_label |
| 10 | 0+0004 <[^>]*> 2140000e bge r4,r5,00000008 <[^>]*> |
| 11 | [ ]*4: R_NIOS2_PCREL16 text_label |
| 12 | 0+0008 <[^>]*> 2140002e bgeu r4,r5,0000000c <[^>]*> |
| 13 | [ ]*8: R_NIOS2_PCREL16 text_label |
| 14 | 0+000c <[^>]*> 21400016 blt r4,r5,00000010 <[^>]*> |
| 15 | [ ]*c: R_NIOS2_PCREL16 text_label |
| 16 | 0+0010 <[^>]*> 21400036 bltu r4,r5,00000014 <[^>]*> |
| 17 | [ ]*10: R_NIOS2_PCREL16 text_label |
| 18 | 0+0014 <[^>]*> 2140001e bne r4,r5,00000018 <[^>]*> |
| 19 | [ ]*14: R_NIOS2_PCREL16 text_label |
| 20 | 0+0018 <[^>]*> 00000006 br 0000001c <[^>]*> |
| 21 | [ ]*18: R_NIOS2_PCREL16 external_label |