Properly display extra data/address size prefixes
[platform/upstream/binutils.git] / gas / testsuite / gas / i386 / ilp32 / x86-64-stack-suffix.d
1 #source: ../x86-64-stack.s
2 #objdump: -dwMsuffix
3 #name: x86-64 (ILP32) stack-related opcodes (with suffixes)
4
5 .*: +file format .*
6
7 Disassembly of section .text:
8
9 0+ <_start>:
10 [       ]*[a-f0-9]+:    50                      pushq  %rax
11 [       ]*[a-f0-9]+:    66 50                   pushw  %ax
12 [       ]*[a-f0-9]+:    48 50                   rex.W pushq %rax
13 [       ]*[a-f0-9]+:    66 48 50                data16 rex.W pushq %rax
14 [       ]*[a-f0-9]+:    58                      popq   %rax
15 [       ]*[a-f0-9]+:    66 58                   popw   %ax
16 [       ]*[a-f0-9]+:    48 58                   rex.W popq %rax
17 [       ]*[a-f0-9]+:    66 48 58                data16 rex.W popq %rax
18 [       ]*[a-f0-9]+:    8f c0                   popq   %rax
19 [       ]*[a-f0-9]+:    66 8f c0                popw   %ax
20 [       ]*[a-f0-9]+:    48 8f c0                rex.W popq %rax
21 [       ]*[a-f0-9]+:    66 48 8f c0             data16 rex.W popq %rax
22 [       ]*[a-f0-9]+:    8f 00                   popq   \(%rax\)
23 [       ]*[a-f0-9]+:    66 8f 00                popw   \(%rax\)
24 [       ]*[a-f0-9]+:    48 8f 00                rex.W popq \(%rax\)
25 [       ]*[a-f0-9]+:    66 48 8f 00             data16 rex.W popq \(%rax\)
26 [       ]*[a-f0-9]+:    ff d0                   callq  \*%rax
27 [       ]*[a-f0-9]+:    66 ff d0                callw  \*%ax
28 [       ]*[a-f0-9]+:    48 ff d0                rex.W callq \*%rax
29 [       ]*[a-f0-9]+:    66 48 ff d0             data16 rex.W callq \*%rax
30 [       ]*[a-f0-9]+:    ff 10                   callq  \*\(%rax\)
31 [       ]*[a-f0-9]+:    66 ff 10                callw  \*\(%rax\)
32 [       ]*[a-f0-9]+:    48 ff 10                rex.W callq \*\(%rax\)
33 [       ]*[a-f0-9]+:    66 48 ff 10             data16 rex.W callq \*\(%rax\)
34 [       ]*[a-f0-9]+:    ff e0                   jmpq   \*%rax
35 [       ]*[a-f0-9]+:    66 ff e0                jmpw   \*%ax
36 [       ]*[a-f0-9]+:    48 ff e0                rex.W jmpq \*%rax
37 [       ]*[a-f0-9]+:    66 48 ff e0             data16 rex.W jmpq \*%rax
38 [       ]*[a-f0-9]+:    ff 20                   jmpq   \*\(%rax\)
39 [       ]*[a-f0-9]+:    66 ff 20                jmpw   \*\(%rax\)
40 [       ]*[a-f0-9]+:    48 ff 20                rex.W jmpq \*\(%rax\)
41 [       ]*[a-f0-9]+:    66 48 ff 20             data16 rex.W jmpq \*\(%rax\)
42 [       ]*[a-f0-9]+:    ff f0                   pushq  %rax
43 [       ]*[a-f0-9]+:    66 ff f0                pushw  %ax
44 [       ]*[a-f0-9]+:    48 ff f0                rex.W pushq %rax
45 [       ]*[a-f0-9]+:    66 48 ff f0             data16 rex.W pushq %rax
46 [       ]*[a-f0-9]+:    ff 30                   pushq  \(%rax\)
47 [       ]*[a-f0-9]+:    66 ff 30                pushw  \(%rax\)
48 [       ]*[a-f0-9]+:    48 ff 30                rex.W pushq \(%rax\)
49 [       ]*[a-f0-9]+:    66 48 ff 30             data16 rex.W pushq \(%rax\)
50 [       ]*[a-f0-9]+:    6a ff                   pushq  \$0xffffffffffffffff
51 [       ]*[a-f0-9]+:    66 6a ff                pushw  \$0xffff
52 [       ]*[a-f0-9]+:    48 6a ff                rex.W pushq \$0xffffffffffffffff
53 [       ]*[a-f0-9]+:    66 48 6a ff             data16 rex.W pushq \$0xffffffffffffffff
54 [       ]*[a-f0-9]+:    68 01 02 03 04          pushq  \$0x4030201
55 [       ]*[a-f0-9]+:    66 68 01 02             pushw  \$0x201
56 [       ]*[a-f0-9]+:    03 04 48                addl   \(%rax,%rcx,2\),%eax
57 [       ]*[a-f0-9]+:    68 01 02 03 04          pushq  \$0x4030201
58 [       ]*[a-f0-9]+:    66 48 68 01 02 03 04    data16 rex.W pushq \$0x4030201
59 [       ]*[a-f0-9]+:    0f a8                   pushq  %gs
60 [       ]*[a-f0-9]+:    66 0f a8                pushw  %gs
61 [       ]*[a-f0-9]+:    48 0f a8                rex.W pushq %gs
62 [       ]*[a-f0-9]+:    66 48 0f a8             data16 rex.W pushq %gs
63 [       ]*[a-f0-9]+:    41 0f a8                rex.B pushq %gs
64 [       ]*[a-f0-9]+:    66 41 0f a8             rex.B pushw %gs
65 [       ]*[a-f0-9]+:    48                      rex.W
66 [       ]*[a-f0-9]+:    41 0f a8                rex.B pushq %gs
67 [       ]*[a-f0-9]+:    66 48                   data16 rex.W
68 [       ]*[a-f0-9]+:    41 0f a8                rex.B pushq %gs
69 [       ]*[a-f0-9]+:    90                      nop
70 #pass