x86: Allow integer conversion without suffix in AT&T syntax
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / noreg64.d
CommitLineData
c006a730 1#as: -moperand-check=none
a961a1e1
JB
2#objdump: -dw
3#name: 64-bit insns not sizeable through register operands
4
5.*: +file format .*
6
7Disassembly of section .text:
8
90+ <noreg>:
10 *[a-f0-9]+: 83 10 01 adcl \$0x1,\(%rax\)
c006a730
JB
11 *[a-f0-9]+: 81 10 89 00 00 00 adcl \$0x89,\(%rax\)
12 *[a-f0-9]+: 81 10 34 12 00 00 adcl \$0x1234,\(%rax\)
13 *[a-f0-9]+: 81 10 78 56 34 12 adcl \$0x12345678,\(%rax\)
a961a1e1 14 *[a-f0-9]+: 83 00 01 addl \$0x1,\(%rax\)
c006a730
JB
15 *[a-f0-9]+: 81 00 89 00 00 00 addl \$0x89,\(%rax\)
16 *[a-f0-9]+: 81 00 34 12 00 00 addl \$0x1234,\(%rax\)
17 *[a-f0-9]+: 81 00 78 56 34 12 addl \$0x12345678,\(%rax\)
a961a1e1 18 *[a-f0-9]+: 83 20 01 andl \$0x1,\(%rax\)
c006a730
JB
19 *[a-f0-9]+: 81 20 89 00 00 00 andl \$0x89,\(%rax\)
20 *[a-f0-9]+: 81 20 34 12 00 00 andl \$0x1234,\(%rax\)
21 *[a-f0-9]+: 81 20 78 56 34 12 andl \$0x12345678,\(%rax\)
a961a1e1
JB
22 *[a-f0-9]+: 0f ba 20 01 btl \$0x1,\(%rax\)
23 *[a-f0-9]+: 0f ba 38 01 btcl \$0x1,\(%rax\)
24 *[a-f0-9]+: 0f ba 30 01 btrl \$0x1,\(%rax\)
25 *[a-f0-9]+: 0f ba 28 01 btsl \$0x1,\(%rax\)
26 *[a-f0-9]+: ff 10 callq \*\(%rax\)
27 *[a-f0-9]+: 83 38 01 cmpl \$0x1,\(%rax\)
c006a730
JB
28 *[a-f0-9]+: 81 38 89 00 00 00 cmpl \$0x89,\(%rax\)
29 *[a-f0-9]+: 81 38 34 12 00 00 cmpl \$0x1234,\(%rax\)
30 *[a-f0-9]+: 81 38 78 56 34 12 cmpl \$0x12345678,\(%rax\)
31 *[a-f0-9]+: a7 cmpsl %es:\(%rdi\),%ds:\(%rsi\)
32 *[a-f0-9]+: a7 cmpsl %es:\(%rdi\),%ds:\(%rsi\)
1a035124
JB
33 *[a-f0-9]+: f2 0f 38 f1 00 crc32l \(%rax\),%eax
34 *[a-f0-9]+: f2 48 0f 38 f1 00 crc32q \(%rax\),%rax
c006a730
JB
35 *[a-f0-9]+: ff 08 decl \(%rax\)
36 *[a-f0-9]+: f7 30 divl \(%rax\)
a961a1e1
JB
37 *[a-f0-9]+: d8 00 fadds \(%rax\)
38 *[a-f0-9]+: d8 10 fcoms \(%rax\)
39 *[a-f0-9]+: d8 18 fcomps \(%rax\)
40 *[a-f0-9]+: d8 30 fdivs \(%rax\)
41 *[a-f0-9]+: d8 38 fdivrs \(%rax\)
42 *[a-f0-9]+: de 00 fiadds \(%rax\)
43 *[a-f0-9]+: de 10 ficoms \(%rax\)
44 *[a-f0-9]+: de 18 ficomps \(%rax\)
45 *[a-f0-9]+: de 30 fidivs \(%rax\)
46 *[a-f0-9]+: de 38 fidivrs \(%rax\)
47 *[a-f0-9]+: df 00 filds \(%rax\)
48 *[a-f0-9]+: de 08 fimuls \(%rax\)
49 *[a-f0-9]+: df 10 fists \(%rax\)
50 *[a-f0-9]+: df 18 fistps \(%rax\)
51 *[a-f0-9]+: df 08 fisttps \(%rax\)
52 *[a-f0-9]+: de 20 fisubs \(%rax\)
53 *[a-f0-9]+: de 28 fisubrs \(%rax\)
54 *[a-f0-9]+: d9 00 flds \(%rax\)
55 *[a-f0-9]+: d8 08 fmuls \(%rax\)
56 *[a-f0-9]+: d9 10 fsts \(%rax\)
57 *[a-f0-9]+: d9 18 fstps \(%rax\)
58 *[a-f0-9]+: d8 20 fsubs \(%rax\)
59 *[a-f0-9]+: d8 28 fsubrs \(%rax\)
c006a730
JB
60 *[a-f0-9]+: f7 38 idivl \(%rax\)
61 *[a-f0-9]+: f7 28 imull \(%rax\)
62 *[a-f0-9]+: e5 00 in \$0x0,%eax
63 *[a-f0-9]+: ed in \(%dx\),%eax
64 *[a-f0-9]+: ff 00 incl \(%rax\)
65 *[a-f0-9]+: 6d insl \(%dx\),%es:\(%rdi\)
66 *[a-f0-9]+: 6d insl \(%dx\),%es:\(%rdi\)
873494c8 67 *[a-f0-9]+: cf iret *
a961a1e1
JB
68 *[a-f0-9]+: ff 20 jmpq \*\(%rax\)
69 *[a-f0-9]+: 0f 01 10 lgdt \(%rax\)
70 *[a-f0-9]+: 0f 01 18 lidt \(%rax\)
71 *[a-f0-9]+: 0f 00 10 lldt \(%rax\)
72 *[a-f0-9]+: 0f 01 30 lmsw \(%rax\)
c006a730
JB
73 *[a-f0-9]+: ad lods %ds:\(%rsi\),%eax
74 *[a-f0-9]+: ad lods %ds:\(%rsi\),%eax
873494c8
JB
75 *[a-f0-9]+: cb lret *
76 *[a-f0-9]+: ca 04 00 lret \$0x4
a961a1e1 77 *[a-f0-9]+: 0f 00 18 ltr \(%rax\)
c006a730
JB
78 *[a-f0-9]+: c7 00 12 00 00 00 movl \$0x12,\(%rax\)
79 *[a-f0-9]+: c7 00 34 12 00 00 movl \$0x1234,\(%rax\)
80 *[a-f0-9]+: c7 00 78 56 34 12 movl \$0x12345678,\(%rax\)
a961a1e1
JB
81 *[a-f0-9]+: 8c 00 mov %es,\(%rax\)
82 *[a-f0-9]+: 8e 00 mov \(%rax\),%es
c006a730
JB
83 *[a-f0-9]+: a5 movsl %ds:\(%rsi\),%es:\(%rdi\)
84 *[a-f0-9]+: a5 movsl %ds:\(%rsi\),%es:\(%rdi\)
65fca059
JB
85 *[a-f0-9]+: 66 0f be 00 movsbw \(%rax\),%ax
86 *[a-f0-9]+: 0f be 00 movsbl \(%rax\),%eax
87 *[a-f0-9]+: 48 0f be 00 movsbq \(%rax\),%rax
88 *[a-f0-9]+: 66 0f b6 00 movzbw \(%rax\),%ax
89 *[a-f0-9]+: 0f b6 00 movzbl \(%rax\),%eax
90 *[a-f0-9]+: 48 0f b6 00 movzbq \(%rax\),%rax
c006a730
JB
91 *[a-f0-9]+: f7 20 mull \(%rax\)
92 *[a-f0-9]+: f7 18 negl \(%rax\)
a961a1e1 93 *[a-f0-9]+: 0f 1f 00 nopl \(%rax\)
c006a730 94 *[a-f0-9]+: f7 10 notl \(%rax\)
a961a1e1 95 *[a-f0-9]+: 83 08 01 orl \$0x1,\(%rax\)
c006a730
JB
96 *[a-f0-9]+: 81 08 89 00 00 00 orl \$0x89,\(%rax\)
97 *[a-f0-9]+: 81 08 34 12 00 00 orl \$0x1234,\(%rax\)
98 *[a-f0-9]+: 81 08 78 56 34 12 orl \$0x12345678,\(%rax\)
99 *[a-f0-9]+: e7 00 out %eax,\$0x0
100 *[a-f0-9]+: ef out %eax,\(%dx\)
101 *[a-f0-9]+: 6f outsl %ds:\(%rsi\),\(%dx\)
102 *[a-f0-9]+: 6f outsl %ds:\(%rsi\),\(%dx\)
a961a1e1
JB
103 *[a-f0-9]+: 8f 00 popq \(%rax\)
104 *[a-f0-9]+: 0f a1 popq %fs
105 *[a-f0-9]+: f3 0f ae 20 ptwritel \(%rax\)
106 *[a-f0-9]+: ff 30 pushq \(%rax\)
107 *[a-f0-9]+: 0f a0 pushq %fs
c006a730
JB
108 *[a-f0-9]+: d1 10 rcll \(%rax\)
109 *[a-f0-9]+: c1 10 02 rcll \$0x2,\(%rax\)
110 *[a-f0-9]+: d3 10 rcll %cl,\(%rax\)
111 *[a-f0-9]+: d1 10 rcll \(%rax\)
112 *[a-f0-9]+: d1 18 rcrl \(%rax\)
113 *[a-f0-9]+: c1 18 02 rcrl \$0x2,\(%rax\)
114 *[a-f0-9]+: d3 18 rcrl %cl,\(%rax\)
115 *[a-f0-9]+: d1 18 rcrl \(%rax\)
116 *[a-f0-9]+: d1 00 roll \(%rax\)
117 *[a-f0-9]+: c1 00 02 roll \$0x2,\(%rax\)
118 *[a-f0-9]+: d3 00 roll %cl,\(%rax\)
119 *[a-f0-9]+: d1 00 roll \(%rax\)
120 *[a-f0-9]+: d1 08 rorl \(%rax\)
121 *[a-f0-9]+: c1 08 02 rorl \$0x2,\(%rax\)
122 *[a-f0-9]+: d3 08 rorl %cl,\(%rax\)
123 *[a-f0-9]+: d1 08 rorl \(%rax\)
a961a1e1 124 *[a-f0-9]+: 83 18 01 sbbl \$0x1,\(%rax\)
c006a730
JB
125 *[a-f0-9]+: 81 18 89 00 00 00 sbbl \$0x89,\(%rax\)
126 *[a-f0-9]+: 81 18 34 12 00 00 sbbl \$0x1234,\(%rax\)
127 *[a-f0-9]+: 81 18 78 56 34 12 sbbl \$0x12345678,\(%rax\)
128 *[a-f0-9]+: af scas %es:\(%rdi\),%eax
129 *[a-f0-9]+: af scas %es:\(%rdi\),%eax
130 *[a-f0-9]+: d1 20 shll \(%rax\)
131 *[a-f0-9]+: c1 20 02 shll \$0x2,\(%rax\)
132 *[a-f0-9]+: d3 20 shll %cl,\(%rax\)
133 *[a-f0-9]+: d1 20 shll \(%rax\)
134 *[a-f0-9]+: d1 38 sarl \(%rax\)
135 *[a-f0-9]+: c1 38 02 sarl \$0x2,\(%rax\)
136 *[a-f0-9]+: d3 38 sarl %cl,\(%rax\)
137 *[a-f0-9]+: d1 38 sarl \(%rax\)
138 *[a-f0-9]+: d1 20 shll \(%rax\)
139 *[a-f0-9]+: c1 20 02 shll \$0x2,\(%rax\)
140 *[a-f0-9]+: d3 20 shll %cl,\(%rax\)
141 *[a-f0-9]+: d1 20 shll \(%rax\)
142 *[a-f0-9]+: d1 28 shrl \(%rax\)
143 *[a-f0-9]+: c1 28 02 shrl \$0x2,\(%rax\)
144 *[a-f0-9]+: d3 28 shrl %cl,\(%rax\)
145 *[a-f0-9]+: d1 28 shrl \(%rax\)
146 *[a-f0-9]+: ab stos %eax,%es:\(%rdi\)
147 *[a-f0-9]+: ab stos %eax,%es:\(%rdi\)
a961a1e1 148 *[a-f0-9]+: 83 28 01 subl \$0x1,\(%rax\)
c006a730
JB
149 *[a-f0-9]+: 81 28 89 00 00 00 subl \$0x89,\(%rax\)
150 *[a-f0-9]+: 81 28 34 12 00 00 subl \$0x1234,\(%rax\)
151 *[a-f0-9]+: 81 28 78 56 34 12 subl \$0x12345678,\(%rax\)
152 *[a-f0-9]+: 0f 07 sysret *
153 *[a-f0-9]+: f7 00 89 00 00 00 testl \$0x89,\(%rax\)
154 *[a-f0-9]+: f7 00 34 12 00 00 testl \$0x1234,\(%rax\)
155 *[a-f0-9]+: f7 00 78 56 34 12 testl \$0x12345678,\(%rax\)
a961a1e1 156 *[a-f0-9]+: 83 30 01 xorl \$0x1,\(%rax\)
c006a730
JB
157 *[a-f0-9]+: 81 30 89 00 00 00 xorl \$0x89,\(%rax\)
158 *[a-f0-9]+: 81 30 34 12 00 00 xorl \$0x1234,\(%rax\)
159 *[a-f0-9]+: 81 30 78 56 34 12 xorl \$0x12345678,\(%rax\)
a961a1e1 160#pass
This page took 0.074797 seconds and 4 git commands to generate.