gas/testsuite/
[binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-stack.d
1 #objdump: -dw
2 #name: x86-64 stack-related opcodes
3
4 .*: +file format elf64-x86-64
5
6 Disassembly of section .text:
7
8 0+ <_start>:
9 [ ]*[0-9a-f]+:[ ]+50[ ]+pushq?[ ]+%rax
10 [ ]*[0-9a-f]+:[ ]+66 50[ ]+pushw?[ ]+%ax
11 [ ]*[0-9a-f]+:[ ]+66 48 50[ ]+pushq?[ ]+%rax
12 [ ]*[0-9a-f]+:[ ]+58[ ]+popq?[ ]+%rax
13 [ ]*[0-9a-f]+:[ ]+66 58[ ]+popw?[ ]+%ax
14 [ ]*[0-9a-f]+:[ ]+66 48 58[ ]+popq?[ ]+%rax
15 [ ]*[0-9a-f]+:[ ]+8f c0[ ]+popq?[ ]+%rax
16 [ ]*[0-9a-f]+:[ ]+66 8f c0[ ]+popw?[ ]+%ax
17 [ ]*[0-9a-f]+:[ ]+66 48 8f c0[ ]+popq?[ ]+%rax
18 [ ]*[0-9a-f]+:[ ]+8f 00[ ]+popq[ ]+\(%rax\)
19 [ ]*[0-9a-f]+:[ ]+66 8f 00[ ]+popw[ ]+\(%rax\)
20 [ ]*[0-9a-f]+:[ ]+66 48 8f 00[ ]+popq[ ]+\(%rax\)
21 [ ]*[0-9a-f]+:[ ]+ff d0[ ]+callq?[ ]+\*%rax
22 [ ]*[0-9a-f]+:[ ]+66 ff d0[ ]+callw?[ ]+\*%ax
23 [ ]*[0-9a-f]+:[ ]+66 48 ff d0[ ]+callq?[ ]+\*%rax
24 [ ]*[0-9a-f]+:[ ]+ff 10[ ]+callq[ ]+\*\(%rax\)
25 [ ]*[0-9a-f]+:[ ]+66 ff 10[ ]+callw[ ]+\*\(%rax\)
26 [ ]*[0-9a-f]+:[ ]+66 48 ff 10[ ]+callq[ ]+\*\(%rax\)
27 [ ]*[0-9a-f]+:[ ]+ff e0[ ]+jmpq?[ ]+\*%rax
28 [ ]*[0-9a-f]+:[ ]+66 ff e0[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