Add more AVX tests.
[binutils.git] / gas / testsuite / gas / i386 / x86-64-stack.d
blob2d806f479c6544708901032edf63c3d7c68b0fe3
1 #objdump: -dw
2 #name: x86-64 stack-related opcodes
4 .*: +file format .*
6 Disassembly of section .text:
8 0+ <_start>:
9 [ ]*[a-f0-9]+: 50 push %rax
10 [ ]*[a-f0-9]+: 66 50 push %ax
11 [ ]*[a-f0-9]+: 66 48 50 data32 push %rax
12 [ ]*[a-f0-9]+: 58 pop %rax
13 [ ]*[a-f0-9]+: 66 58 pop %ax
14 [ ]*[a-f0-9]+: 66 48 58 data32 pop %rax
15 [ ]*[a-f0-9]+: 8f c0 pop %rax
16 [ ]*[a-f0-9]+: 66 8f c0 pop %ax
17 [ ]*[a-f0-9]+: 66 48 8f c0 data32 pop %rax
18 [ ]*[a-f0-9]+: 8f 00 popq \(%rax\)
19 [ ]*[a-f0-9]+: 66 8f 00 popw \(%rax\)
20 [ ]*[a-f0-9]+: 66 48 8f 00 data32 popq \(%rax\)
21 [ ]*[a-f0-9]+: ff d0 callq \*%rax
22 [ ]*[a-f0-9]+: 66 ff d0 callw \*%ax
23 [ ]*[a-f0-9]+: 66 48 ff d0 data32 callq \*%rax
24 [ ]*[a-f0-9]+: ff 10 callq \*\(%rax\)
25 [ ]*[a-f0-9]+: 66 ff 10 callw \*\(%rax\)
26 [ ]*[a-f0-9]+: 66 48 ff 10 data32 callq \*\(%rax\)
27 [ ]*[a-f0-9]+: ff e0 jmpq \*%rax
28 [ ]*[a-f0-9]+: 66 ff e0 jmpw \*%ax
29 [ ]*[a-f0-9]+: 66 48 ff e0 data32 jmpq \*%rax
30 [ ]*[a-f0-9]+: ff 20 jmpq \*\(%rax\)
31 [ ]*[a-f0-9]+: 66 ff 20 jmpw \*\(%rax\)
32 [ ]*[a-f0-9]+: 66 48 ff 20 data32 jmpq \*\(%rax\)
33 [ ]*[a-f0-9]+: ff f0 push %rax
34 [ ]*[a-f0-9]+: 66 ff f0 push %ax
35 [ ]*[a-f0-9]+: 66 48 ff f0 data32 push %rax
36 [ ]*[a-f0-9]+: ff 30 pushq \(%rax\)
37 [ ]*[a-f0-9]+: 66 ff 30 pushw \(%rax\)
38 [ ]*[a-f0-9]+: 66 48 ff 30 data32 pushq \(%rax\)
39 #pass