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