i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / align-branch-5.d
1 #as: -malign-branch-boundary=32 -malign-branch=jcc+fused+jmp
2 #objdump: -dw
3
4 .*: +file format .*
5
6 Disassembly of section .text:
7
8 0+ <foo>:
9 0: c1 e9 02 shr \$0x2,%ecx
10 3: c1 e9 02 shr \$0x2,%ecx
11 6: c1 e9 02 shr \$0x2,%ecx
12 9: 89 d1 mov %edx,%ecx
13 b: 31 c0 xor %eax,%eax
14 d: c1 e9 02 shr \$0x2,%ecx
15 10: c1 e9 02 shr \$0x2,%ecx
16 13: c1 e9 02 shr \$0x2,%ecx
17 16: c1 e9 02 shr \$0x2,%ecx
18 19: c1 e9 02 shr \$0x2,%ecx
19 1c: c1 e9 02 shr \$0x2,%ecx
20 1f: f6 c2 02 test \$0x2,%dl
21 22: f3 ab rep stos %eax,%es:\(%edi\)
22 24: 75 dd jne 3 <foo\+0x3>
23 26: 31 c0 xor %eax,%eax
24 28: c1 e9 02 shr \$0x2,%ecx
25 2b: c1 e9 02 shr \$0x2,%ecx
26 2e: c1 e9 02 shr \$0x2,%ecx
27 31: 89 d1 mov %edx,%ecx
28 33: 31 c0 xor %eax,%eax
29 35: c1 e9 02 shr \$0x2,%ecx
30 38: c1 e9 02 shr \$0x2,%ecx
31 3b: c1 e9 02 shr \$0x2,%ecx
32 3e: f6 c2 02 test \$0x2,%dl
33 41: e8 [0-9a-f ]+ call .*
34 46: 75 e3 jne 2b <foo\+0x2b>
35 48: 31 c0 xor %eax,%eax
36 #pass
This page took 0.034412 seconds and 4 git commands to generate.