MIPS: Fix the encoding of immediates with microMIPS JALX
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mipsr6@beq.d
1 #objdump: -dr --prefix-addresses -mmips:4000
2 #name: MIPS beq
3 #as: -32
4 #source: beq.s
5
6 # Test the beq macro.
7
8 .*: +file format .*mips.*
9
10 Disassembly of section \.text:
11 [0-9a-f]+ <[^>]*> beq a0,a1,0+0000 <.*>
12 [ ]*0: .*R_MIPS_PC16 text_label
13 [0-9a-f]+ <[^>]*> nop
14 [0-9a-f]+ <[^>]*> beqz a0,0+0008 <.*>
15 [ ]*8: .*R_MIPS_PC16 text_label
16 [0-9a-f]+ <[^>]*> nop
17 [0-9a-f]+ <[^>]*> li at,1
18 [0-9a-f]+ <[^>]*> beq a0,at,0+0014 <.*>
19 [ ]*14: .*R_MIPS_PC16 text_label
20 [0-9a-f]+ <[^>]*> nop
21 [0-9a-f]+ <[^>]*> li at,0x8000
22 [0-9a-f]+ <[^>]*> beq a0,at,0+0020 <.*>
23 [ ]*20: .*R_MIPS_PC16 text_label
24 [0-9a-f]+ <[^>]*> nop
25 [0-9a-f]+ <[^>]*> li at,-32768
26 [0-9a-f]+ <[^>]*> beq a0,at,0+002c <.*>
27 [ ]*2c: .*R_MIPS_PC16 text_label
28 [0-9a-f]+ <[^>]*> nop
29 [0-9a-f]+ <[^>]*> lui at,0x1
30 [0-9a-f]+ <[^>]*> beq a0,at,0+0038 <.*>
31 [ ]*38: .*R_MIPS_PC16 text_label
32 [0-9a-f]+ <[^>]*> nop
33 [0-9a-f]+ <[^>]*> lui at,0x1
34 [0-9a-f]+ <[^>]*> ori at,at,0xa5a5
35 [0-9a-f]+ <[^>]*> beq a0,at,0+0048 <.*>
36 [ ]*48: .*R_MIPS_PC16 text_label
37 [0-9a-f]+ <[^>]*> nop
38 [0-9a-f]+ <[^>]*> bnez a0,0+0050 <.*>
39 [ ]*50: .*R_MIPS_PC16 text_label
40 [0-9a-f]+ <[^>]*> nop
41 \.\.\.
This page took 0.030355 seconds and 4 git commands to generate.