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