x86: improve handling of insns with ambiguous operand sizes
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / noreg32.d
CommitLineData
c006a730 1#as: -moperand-check=none
a961a1e1
JB
2#objdump: -dw
3#name: 32-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,\(%eax\)
c006a730
JB
11 *[a-f0-9]+: 81 10 89 00 00 00 adcl \$0x89,\(%eax\)
12 *[a-f0-9]+: 81 10 34 12 00 00 adcl \$0x1234,\(%eax\)
13 *[a-f0-9]+: 81 10 78 56 34 12 adcl \$0x12345678,\(%eax\)
a961a1e1 14 *[a-f0-9]+: 83 00 01 addl \$0x1,\(%eax\)
c006a730
JB
15 *[a-f0-9]+: 81 00 89 00 00 00 addl \$0x89,\(%eax\)
16 *[a-f0-9]+: 81 00 34 12 00 00 addl \$0x1234,\(%eax\)
17 *[a-f0-9]+: 81 00 78 56 34 12 addl \$0x12345678,\(%eax\)
a961a1e1 18 *[a-f0-9]+: 83 20 01 andl \$0x1,\(%eax\)
c006a730
JB
19 *[a-f0-9]+: 81 20 89 00 00 00 andl \$0x89,\(%eax\)
20 *[a-f0-9]+: 81 20 34 12 00 00 andl \$0x1234,\(%eax\)
21 *[a-f0-9]+: 81 20 78 56 34 12 andl \$0x12345678,\(%eax\)
a961a1e1
JB
22 *[a-f0-9]+: 0f ba 20 01 btl \$0x1,\(%eax\)
23 *[a-f0-9]+: 0f ba 38 01 btcl \$0x1,\(%eax\)
24 *[a-f0-9]+: 0f ba 30 01 btrl \$0x1,\(%eax\)
25 *[a-f0-9]+: 0f ba 28 01 btsl \$0x1,\(%eax\)
26 *[a-f0-9]+: ff 10 call \*\(%eax\)
27 *[a-f0-9]+: 83 38 01 cmpl \$0x1,\(%eax\)
c006a730
JB
28 *[a-f0-9]+: 81 38 89 00 00 00 cmpl \$0x89,\(%eax\)
29 *[a-f0-9]+: 81 38 34 12 00 00 cmpl \$0x1234,\(%eax\)
30 *[a-f0-9]+: 81 38 78 56 34 12 cmpl \$0x12345678,\(%eax\)
31 *[a-f0-9]+: a7 cmpsl %es:\(%edi\),%ds:\(%esi\)
32 *[a-f0-9]+: a7 cmpsl %es:\(%edi\),%ds:\(%esi\)
a961a1e1
JB
33 *[a-f0-9]+: f2 0f 2a 00 cvtsi2sdl \(%eax\),%xmm0
34 *[a-f0-9]+: f3 0f 2a 00 cvtsi2ssl \(%eax\),%xmm0
c006a730
JB
35 *[a-f0-9]+: ff 08 decl \(%eax\)
36 *[a-f0-9]+: f7 30 divl \(%eax\)
a961a1e1
JB
37 *[a-f0-9]+: d8 00 fadds \(%eax\)
38 *[a-f0-9]+: d8 10 fcoms \(%eax\)
39 *[a-f0-9]+: d8 18 fcomps \(%eax\)
40 *[a-f0-9]+: d8 30 fdivs \(%eax\)
41 *[a-f0-9]+: d8 38 fdivrs \(%eax\)
42 *[a-f0-9]+: de 00 fiadds \(%eax\)
43 *[a-f0-9]+: de 10 ficoms \(%eax\)
44 *[a-f0-9]+: de 18 ficomps \(%eax\)
45 *[a-f0-9]+: de 30 fidivs \(%eax\)
46 *[a-f0-9]+: de 38 fidivrs \(%eax\)
47 *[a-f0-9]+: df 00 filds \(%eax\)
48 *[a-f0-9]+: de 08 fimuls \(%eax\)
49 *[a-f0-9]+: df 10 fists \(%eax\)
50 *[a-f0-9]+: df 18 fistps \(%eax\)
51 *[a-f0-9]+: df 08 fisttps \(%eax\)
52 *[a-f0-9]+: de 20 fisubs \(%eax\)
53 *[a-f0-9]+: de 28 fisubrs \(%eax\)
54 *[a-f0-9]+: d9 00 flds \(%eax\)
55 *[a-f0-9]+: d8 08 fmuls \(%eax\)
56 *[a-f0-9]+: d9 10 fsts \(%eax\)
57 *[a-f0-9]+: d9 18 fstps \(%eax\)
58 *[a-f0-9]+: d8 20 fsubs \(%eax\)
59 *[a-f0-9]+: d8 28 fsubrs \(%eax\)
c006a730
JB
60 *[a-f0-9]+: f7 38 idivl \(%eax\)
61 *[a-f0-9]+: f7 28 imull \(%eax\)
62 *[a-f0-9]+: e5 00 in \$0x0,%eax
63 *[a-f0-9]+: ed in \(%dx\),%eax
64 *[a-f0-9]+: ff 00 incl \(%eax\)
65 *[a-f0-9]+: 6d insl \(%dx\),%es:\(%edi\)
66 *[a-f0-9]+: 6d insl \(%dx\),%es:\(%edi\)
a961a1e1
JB
67 *[a-f0-9]+: ff 20 jmp \*\(%eax\)
68 *[a-f0-9]+: 0f 01 10 lgdtl \(%eax\)
69 *[a-f0-9]+: 0f 01 18 lidtl \(%eax\)
70 *[a-f0-9]+: 0f 00 10 lldt \(%eax\)
71 *[a-f0-9]+: 0f 01 30 lmsw \(%eax\)
c006a730
JB
72 *[a-f0-9]+: ad lods %ds:\(%esi\),%eax
73 *[a-f0-9]+: ad lods %ds:\(%esi\),%eax
a961a1e1 74 *[a-f0-9]+: 0f 00 18 ltr \(%eax\)
c006a730
JB
75 *[a-f0-9]+: c7 00 12 00 00 00 movl \$0x12,\(%eax\)
76 *[a-f0-9]+: c7 00 34 12 00 00 movl \$0x1234,\(%eax\)
77 *[a-f0-9]+: c7 00 78 56 34 12 movl \$0x12345678,\(%eax\)
a961a1e1
JB
78 *[a-f0-9]+: 8c 00 mov %es,\(%eax\)
79 *[a-f0-9]+: 8e 00 mov \(%eax\),%es
c006a730
JB
80 *[a-f0-9]+: a5 movsl %ds:\(%esi\),%es:\(%edi\)
81 *[a-f0-9]+: a5 movsl %ds:\(%esi\),%es:\(%edi\)
82 *[a-f0-9]+: f7 20 mull \(%eax\)
83 *[a-f0-9]+: f7 18 negl \(%eax\)
a961a1e1 84 *[a-f0-9]+: 0f 1f 00 nopl \(%eax\)
c006a730 85 *[a-f0-9]+: f7 10 notl \(%eax\)
a961a1e1 86 *[a-f0-9]+: 83 08 01 orl \$0x1,\(%eax\)
c006a730
JB
87 *[a-f0-9]+: 81 08 89 00 00 00 orl \$0x89,\(%eax\)
88 *[a-f0-9]+: 81 08 34 12 00 00 orl \$0x1234,\(%eax\)
89 *[a-f0-9]+: 81 08 78 56 34 12 orl \$0x12345678,\(%eax\)
90 *[a-f0-9]+: e7 00 out %eax,\$0x0
91 *[a-f0-9]+: ef out %eax,\(%dx\)
92 *[a-f0-9]+: 6f outsl %ds:\(%esi\),\(%dx\)
93 *[a-f0-9]+: 6f outsl %ds:\(%esi\),\(%dx\)
a961a1e1
JB
94 *[a-f0-9]+: 8f 00 popl \(%eax\)
95 *[a-f0-9]+: 07 pop %es
96 *[a-f0-9]+: f3 0f ae 20 ptwritel \(%eax\)
97 *[a-f0-9]+: ff 30 pushl \(%eax\)
98 *[a-f0-9]+: 06 push %es
c006a730
JB
99 *[a-f0-9]+: d1 10 rcll \(%eax\)
100 *[a-f0-9]+: c1 10 02 rcll \$0x2,\(%eax\)
101 *[a-f0-9]+: d3 10 rcll %cl,\(%eax\)
102 *[a-f0-9]+: d1 10 rcll \(%eax\)
103 *[a-f0-9]+: d1 18 rcrl \(%eax\)
104 *[a-f0-9]+: c1 18 02 rcrl \$0x2,\(%eax\)
105 *[a-f0-9]+: d3 18 rcrl %cl,\(%eax\)
106 *[a-f0-9]+: d1 18 rcrl \(%eax\)
107 *[a-f0-9]+: d1 00 roll \(%eax\)
108 *[a-f0-9]+: c1 00 02 roll \$0x2,\(%eax\)
109 *[a-f0-9]+: d3 00 roll %cl,\(%eax\)
110 *[a-f0-9]+: d1 00 roll \(%eax\)
111 *[a-f0-9]+: d1 08 rorl \(%eax\)
112 *[a-f0-9]+: c1 08 02 rorl \$0x2,\(%eax\)
113 *[a-f0-9]+: d3 08 rorl %cl,\(%eax\)
114 *[a-f0-9]+: d1 08 rorl \(%eax\)
a961a1e1 115 *[a-f0-9]+: 83 18 01 sbbl \$0x1,\(%eax\)
c006a730
JB
116 *[a-f0-9]+: 81 18 89 00 00 00 sbbl \$0x89,\(%eax\)
117 *[a-f0-9]+: 81 18 34 12 00 00 sbbl \$0x1234,\(%eax\)
118 *[a-f0-9]+: 81 18 78 56 34 12 sbbl \$0x12345678,\(%eax\)
119 *[a-f0-9]+: af scas %es:\(%edi\),%eax
120 *[a-f0-9]+: af scas %es:\(%edi\),%eax
121 *[a-f0-9]+: d1 20 shll \(%eax\)
122 *[a-f0-9]+: c1 20 02 shll \$0x2,\(%eax\)
123 *[a-f0-9]+: d3 20 shll %cl,\(%eax\)
124 *[a-f0-9]+: d1 20 shll \(%eax\)
125 *[a-f0-9]+: d1 38 sarl \(%eax\)
126 *[a-f0-9]+: c1 38 02 sarl \$0x2,\(%eax\)
127 *[a-f0-9]+: d3 38 sarl %cl,\(%eax\)
128 *[a-f0-9]+: d1 38 sarl \(%eax\)
129 *[a-f0-9]+: d1 20 shll \(%eax\)
130 *[a-f0-9]+: c1 20 02 shll \$0x2,\(%eax\)
131 *[a-f0-9]+: d3 20 shll %cl,\(%eax\)
132 *[a-f0-9]+: d1 20 shll \(%eax\)
133 *[a-f0-9]+: d1 28 shrl \(%eax\)
134 *[a-f0-9]+: c1 28 02 shrl \$0x2,\(%eax\)
135 *[a-f0-9]+: d3 28 shrl %cl,\(%eax\)
136 *[a-f0-9]+: d1 28 shrl \(%eax\)
137 *[a-f0-9]+: ab stos %eax,%es:\(%edi\)
138 *[a-f0-9]+: ab stos %eax,%es:\(%edi\)
a961a1e1 139 *[a-f0-9]+: 83 28 01 subl \$0x1,\(%eax\)
c006a730
JB
140 *[a-f0-9]+: 81 28 89 00 00 00 subl \$0x89,\(%eax\)
141 *[a-f0-9]+: 81 28 34 12 00 00 subl \$0x1234,\(%eax\)
142 *[a-f0-9]+: 81 28 78 56 34 12 subl \$0x12345678,\(%eax\)
143 *[a-f0-9]+: f7 00 89 00 00 00 testl \$0x89,\(%eax\)
144 *[a-f0-9]+: f7 00 34 12 00 00 testl \$0x1234,\(%eax\)
145 *[a-f0-9]+: f7 00 78 56 34 12 testl \$0x12345678,\(%eax\)
a961a1e1
JB
146 *[a-f0-9]+: c5 fb 2a 00 vcvtsi2sdl \(%eax\),%xmm0,%xmm0
147 *[a-f0-9]+: 62 f1 7f 08 2a 00 vcvtsi2sdl \(%eax\),%xmm0,%xmm0
148 *[a-f0-9]+: c5 fa 2a 00 vcvtsi2ssl \(%eax\),%xmm0,%xmm0
149 *[a-f0-9]+: 62 f1 7e 08 2a 00 vcvtsi2ssl \(%eax\),%xmm0,%xmm0
150 *[a-f0-9]+: 62 f1 7f 08 7b 00 vcvtusi2sdl \(%eax\),%xmm0,%xmm0
151 *[a-f0-9]+: 62 f1 7e 08 7b 00 vcvtusi2ssl \(%eax\),%xmm0,%xmm0
152 *[a-f0-9]+: 83 30 01 xorl \$0x1,\(%eax\)
c006a730
JB
153 *[a-f0-9]+: 81 30 89 00 00 00 xorl \$0x89,\(%eax\)
154 *[a-f0-9]+: 81 30 34 12 00 00 xorl \$0x1234,\(%eax\)
155 *[a-f0-9]+: 81 30 78 56 34 12 xorl \$0x12345678,\(%eax\)
a961a1e1 156#pass
This page took 0.04615 seconds and 4 git commands to generate.