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