summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/ilp32/x86-64-stack.d
blob: 2fe62aa120abc4cac4370c548a8692953f15d787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#source: ../x86-64-stack.s
#objdump: -dw
#name: x86-64 (ILP32) stack-related opcodes

.*: +file format .*

Disassembly of section .text:

0+ <_start>:
[ 	]*[a-f0-9]+:	50                   	push   %rax
[ 	]*[a-f0-9]+:	66 50                	push   %ax
[ 	]*[a-f0-9]+:	48 50                	rex.W push %rax
[ 	]*[a-f0-9]+:	66 48 50             	data16 rex.W push %rax
[ 	]*[a-f0-9]+:	58                   	pop    %rax
[ 	]*[a-f0-9]+:	66 58                	pop    %ax
[ 	]*[a-f0-9]+:	48 58                	rex.W pop %rax
[ 	]*[a-f0-9]+:	66 48 58             	data16 rex.W pop %rax
[ 	]*[a-f0-9]+:	8f c0                	pop    %rax
[ 	]*[a-f0-9]+:	66 8f c0             	pop    %ax
[ 	]*[a-f0-9]+:	48 8f c0             	rex.W pop %rax
[ 	]*[a-f0-9]+:	66 48 8f c0          	data16 rex.W pop %rax
[ 	]*[a-f0-9]+:	8f 00                	popq   \(%rax\)
[ 	]*[a-f0-9]+:	66 8f 00             	popw   \(%rax\)
[ 	]*[a-f0-9]+:	48 8f 00             	rex.W popq \(%rax\)
[ 	]*[a-f0-9]+:	66 48 8f 00          	data16 rex.W popq \(%rax\)
[ 	]*[a-f0-9]+:	ff d0                	callq  \*%rax
[ 	]*[a-f0-9]+:	66 ff d0             	callw  \*%ax
[ 	]*[a-f0-9]+:	48 ff d0             	rex.W callq \*%rax
[ 	]*[a-f0-9]+:	66 48 ff d0          	data16 rex.W callq \*%rax
[ 	]*[a-f0-9]+:	ff 10                	callq  \*\(%rax\)
[ 	]*[a-f0-9]+:	66 ff 10             	callw  \*\(%rax\)
[ 	]*[a-f0-9]+:	48 ff 10             	rex.W callq \*\(%rax\)
[ 	]*[a-f0-9]+:	66 48 ff 10          	data16 rex.W callq \*\(%rax\)
[ 	]*[a-f0-9]+:	ff e0                	jmpq   \*%rax
[ 	]*[a-f0-9]+:	66 ff e0             	jmpw   \*%ax
[ 	]*[a-f0-9]+:	48 ff e0             	rex.W jmpq \*%rax
[ 	]*[a-f0-9]+:	66 48 ff e0          	data16 rex.W jmpq \*%rax
[ 	]*[a-f0-9]+:	ff 20                	jmpq   \*\(%rax\)
[ 	]*[a-f0-9]+:	66 ff 20             	jmpw   \*\(%rax\)
[ 	]*[a-f0-9]+:	48 ff 20             	rex.W jmpq \*\(%rax\)
[ 	]*[a-f0-9]+:	66 48 ff 20          	data16 rex.W jmpq \*\(%rax\)
[ 	]*[a-f0-9]+:	ff f0                	push   %rax
[ 	]*[a-f0-9]+:	66 ff f0             	push   %ax
[ 	]*[a-f0-9]+:	48 ff f0             	rex.W push %rax
[ 	]*[a-f0-9]+:	66 48 ff f0          	data16 rex.W push %rax
[ 	]*[a-f0-9]+:	ff 30                	pushq  \(%rax\)
[ 	]*[a-f0-9]+:	66 ff 30             	pushw  \(%rax\)
[ 	]*[a-f0-9]+:	48 ff 30             	rex.W pushq \(%rax\)
[ 	]*[a-f0-9]+:	66 48 ff 30          	data16 rex.W pushq \(%rax\)
[ 	]*[a-f0-9]+:	6a ff                	pushq  \$0xffffffffffffffff
[ 	]*[a-f0-9]+:	66 6a ff             	pushw  \$0xffff
[ 	]*[a-f0-9]+:	48 6a ff             	rex.W pushq \$0xffffffffffffffff
[ 	]*[a-f0-9]+:	66 48 6a ff          	data16 rex.W pushq \$0xffffffffffffffff
[ 	]*[a-f0-9]+:	68 01 02 03 04       	pushq  \$0x4030201
[ 	]*[a-f0-9]+:	66 68 01 02          	pushw  \$0x201
[ 	]*[a-f0-9]+:	03 04 48             	add    \(%rax,%rcx,2\),%eax
[ 	]*[a-f0-9]+:	68 01 02 03 04       	pushq  \$0x4030201
[ 	]*[a-f0-9]+:	66 48 68 01 02 03 04 	data16 rex.W pushq \$0x4030201
[ 	]*[a-f0-9]+:	0f a8                	pushq  %gs
[ 	]*[a-f0-9]+:	66 0f a8             	pushw  %gs
[ 	]*[a-f0-9]+:	48 0f a8             	rex.W pushq %gs
[ 	]*[a-f0-9]+:	66 48 0f a8          	data16 rex.W pushq %gs
[ 	]*[a-f0-9]+:	41 0f a8             	rex.B pushq %gs
[ 	]*[a-f0-9]+:	66 41 0f a8          	rex.B pushw %gs
[ 	]*[a-f0-9]+:	48                   	rex.W
[ 	]*[a-f0-9]+:	41 0f a8             	rex.B pushq %gs
[ 	]*[a-f0-9]+:	66 48                	data16 rex.W
[ 	]*[a-f0-9]+:	41 0f a8             	rex.B pushq %gs
[ 	]*[a-f0-9]+:	90                   	nop
#pass