1 #name: microMIPS BAL/JALX addend calculation
2 #source: ../../../gas/testsuite/gas/mips/branch-addend-micromips.s
4 #ld: -EB -Ttext 0x1c000000 -e 0x1c000000
5 #objdump: -dr --prefix-addresses --show-raw-insn
7 .*: +file format .*mips.*
9 Disassembly of section \.text:
11 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
12 [0-9a-f]+ <[^>]*> 03e00009 jalr zero,ra
13 [0-9a-f]+ <[^>]*> 00000027 nor zero,zero,zero
14 [0-9a-f]+ <[^>]*> 00000000 nop
15 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
16 [0-9a-f]+ <[^>]*> f300 4400 jalx 0*1c011000 <.*>
17 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
18 [0-9a-f]+ <[^>]*> 4060 7ff8 bal 0*1c011010 <.*>
19 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero
20 [0-9a-f]+ <[^>]*> 001f 0f3c jr ra
21 [0-9a-f]+ <[^>]*> 0000 02d0 not zero,zero