[opcodes/ChangeLog]
[platform/upstream/binutils.git] / gas / testsuite / gas / mips / beq.d
1 #objdump: -dr --prefix-addresses -mmips:4000
2 #name: MIPS beq
3
4 # Test the beq macro.
5
6 .*: +file format .*mips.*
7
8 Disassembly of section .text:
9 0+0000 <[^>]*> beq      a0,a1,0+0000 <text_label>
10 0+0004 <[^>]*> nop
11 0+0008 <[^>]*> beqz     a0,0+0000 <text_label>
12 0+000c <[^>]*> nop
13 0+0010 <[^>]*> li       at,1
14 0+0014 <[^>]*> beq      a0,at,0+0000 <text_label>
15 0+0018 <[^>]*> nop
16 0+001c <[^>]*> li       at,0x8000
17 0+0020 <[^>]*> beq      a0,at,0+0000 <text_label>
18 0+0024 <[^>]*> nop
19 0+0028 <[^>]*> li       at,-32768
20 0+002c <[^>]*> beq      a0,at,0+0000 <text_label>
21 0+0030 <[^>]*> nop
22 0+0034 <[^>]*> lui      at,0x1
23 0+0038 <[^>]*> beq      a0,at,0+0000 <text_label>
24 0+003c <[^>]*> nop
25 0+0040 <[^>]*> lui      at,0x1
26 0+0044 <[^>]*> ori      at,at,0xa5a5
27 0+0048 <[^>]*> beq      a0,at,0+0000 <text_label>
28 0+004c <[^>]*> nop
29 0+0050 <[^>]*> bnez     a0,0+0000 <text_label>
30 0+0054 <[^>]*> nop
31 0+0058 <[^>]*> beqzl    a0,0+0000 <text_label>
32 0+005c <[^>]*> nop
33 0+0060 <[^>]*> bnezl    a0,0+0000 <text_label>
34 0+0064 <[^>]*> nop
35         ...
36 0+20068 <[^>]*> j       0+0000 <text_label>
37 [       ]*20068: (MIPS_JMP|JMPADDR|R_MIPS_26)   .text
38 0+2006c <[^>]*> nop
39 0+20070 <[^>]*> jal     0+0000 <text_label>
40 [       ]*20070: (MIPS_JMP|JMPADDR|R_MIPS_26)   .text
41 0+20074 <[^>]*> nop
42 0+20078 <[^>]*> b       0+20078 <text_label\+0x20078>
43 [       ]*20078: R_MIPS_PC16    external_label
44 0+2007c <[^>]*> nop
45 0+20080 <[^>]*> bal     0+20080 <text_label\+0x20080>
46 [       ]*20080: R_MIPS_PC16    external_label
47 0+20084 <[^>]*> nop
48         ...