[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / I286-32.s
blob0d463669f34ad917e17af902b8ee0269b79b9457
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: clts
4 // CHECK: encoding: [0x0f,0x06]
5 clts
7 // CHECK: larl 3809469200(%edx,%eax,4), %eax
8 // CHECK: encoding: [0x0f,0x02,0x84,0x82,0x10,0xe3,0x0f,0xe3]
9 larl 3809469200(%edx,%eax,4), %eax
11 // CHECK: larl 485498096, %eax
12 // CHECK: encoding: [0x0f,0x02,0x05,0xf0,0x1c,0xf0,0x1c]
13 larl 485498096, %eax
15 // CHECK: larl 485498096(%edx,%eax,4), %eax
16 // CHECK: encoding: [0x0f,0x02,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
17 larl 485498096(%edx,%eax,4), %eax
19 // CHECK: larl 485498096(%edx), %eax
20 // CHECK: encoding: [0x0f,0x02,0x82,0xf0,0x1c,0xf0,0x1c]
21 larl 485498096(%edx), %eax
23 // CHECK: larl 64(%edx,%eax), %eax
24 // CHECK: encoding: [0x0f,0x02,0x44,0x02,0x40]
25 larl 64(%edx,%eax), %eax
27 // CHECK: larl %eax, %eax
28 // CHECK: encoding: [0x0f,0x02,0xc0]
29 larl %eax, %eax
31 // CHECK: larl (%edx), %eax
32 // CHECK: encoding: [0x0f,0x02,0x02]
33 larl (%edx), %eax
35 // CHECK: lldtw -485498096(%edx,%eax,4)
36 // CHECK: encoding: [0x0f,0x00,0x94,0x82,0x10,0xe3,0x0f,0xe3]
37 lldtw -485498096(%edx,%eax,4)
39 // CHECK: lldtw 485498096(%edx,%eax,4)
40 // CHECK: encoding: [0x0f,0x00,0x94,0x82,0xf0,0x1c,0xf0,0x1c]
41 lldtw 485498096(%edx,%eax,4)
43 // CHECK: lldtw 485498096(%edx)
44 // CHECK: encoding: [0x0f,0x00,0x92,0xf0,0x1c,0xf0,0x1c]
45 lldtw 485498096(%edx)
47 // CHECK: lldtw 485498096
48 // CHECK: encoding: [0x0f,0x00,0x15,0xf0,0x1c,0xf0,0x1c]
49 lldtw 485498096
51 // CHECK: lldtw 64(%edx,%eax)
52 // CHECK: encoding: [0x0f,0x00,0x54,0x02,0x40]
53 lldtw 64(%edx,%eax)
55 // CHECK: lldtw (%edx)
56 // CHECK: encoding: [0x0f,0x00,0x12]
57 lldtw (%edx)
59 // CHECK: lmsww -485498096(%edx,%eax,4)
60 // CHECK: encoding: [0x0f,0x01,0xb4,0x82,0x10,0xe3,0x0f,0xe3]
61 lmsww -485498096(%edx,%eax,4)
63 // CHECK: lmsww 485498096(%edx,%eax,4)
64 // CHECK: encoding: [0x0f,0x01,0xb4,0x82,0xf0,0x1c,0xf0,0x1c]
65 lmsww 485498096(%edx,%eax,4)
67 // CHECK: lmsww 485498096(%edx)
68 // CHECK: encoding: [0x0f,0x01,0xb2,0xf0,0x1c,0xf0,0x1c]
69 lmsww 485498096(%edx)
71 // CHECK: lmsww 485498096
72 // CHECK: encoding: [0x0f,0x01,0x35,0xf0,0x1c,0xf0,0x1c]
73 lmsww 485498096
75 // CHECK: lmsww 64(%edx,%eax)
76 // CHECK: encoding: [0x0f,0x01,0x74,0x02,0x40]
77 lmsww 64(%edx,%eax)
79 // CHECK: lmsww (%edx)
80 // CHECK: encoding: [0x0f,0x01,0x32]
81 lmsww (%edx)
83 // CHECK: lsll 3809469200(%edx,%eax,4), %eax
84 // CHECK: encoding: [0x0f,0x03,0x84,0x82,0x10,0xe3,0x0f,0xe3]
85 lsll 3809469200(%edx,%eax,4), %eax
87 // CHECK: lsll 485498096, %eax
88 // CHECK: encoding: [0x0f,0x03,0x05,0xf0,0x1c,0xf0,0x1c]
89 lsll 485498096, %eax
91 // CHECK: lsll 485498096(%edx,%eax,4), %eax
92 // CHECK: encoding: [0x0f,0x03,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
93 lsll 485498096(%edx,%eax,4), %eax
95 // CHECK: lsll 485498096(%edx), %eax
96 // CHECK: encoding: [0x0f,0x03,0x82,0xf0,0x1c,0xf0,0x1c]
97 lsll 485498096(%edx), %eax
99 // CHECK: lsll 64(%edx,%eax), %eax
100 // CHECK: encoding: [0x0f,0x03,0x44,0x02,0x40]
101 lsll 64(%edx,%eax), %eax
103 // CHECK: lsll %eax, %eax
104 // CHECK: encoding: [0x0f,0x03,0xc0]
105 lsll %eax, %eax
107 // CHECK: lsll (%edx), %eax
108 // CHECK: encoding: [0x0f,0x03,0x02]
109 lsll (%edx), %eax
111 // CHECK: ltrw -485498096(%edx,%eax,4)
112 // CHECK: encoding: [0x0f,0x00,0x9c,0x82,0x10,0xe3,0x0f,0xe3]
113 ltrw -485498096(%edx,%eax,4)
115 // CHECK: ltrw 485498096(%edx,%eax,4)
116 // CHECK: encoding: [0x0f,0x00,0x9c,0x82,0xf0,0x1c,0xf0,0x1c]
117 ltrw 485498096(%edx,%eax,4)
119 // CHECK: ltrw 485498096(%edx)
120 // CHECK: encoding: [0x0f,0x00,0x9a,0xf0,0x1c,0xf0,0x1c]
121 ltrw 485498096(%edx)
123 // CHECK: ltrw 485498096
124 // CHECK: encoding: [0x0f,0x00,0x1d,0xf0,0x1c,0xf0,0x1c]
125 ltrw 485498096
127 // CHECK: ltrw 64(%edx,%eax)
128 // CHECK: encoding: [0x0f,0x00,0x5c,0x02,0x40]
129 ltrw 64(%edx,%eax)
131 // CHECK: ltrw (%edx)
132 // CHECK: encoding: [0x0f,0x00,0x1a]
133 ltrw (%edx)
135 // CHECK: sldtw %ax
136 // CHECK: encoding: [0x66,0x0f,0x00,0xc0]
137 sldtw %ax
139 // CHECK: sldtl %eax
140 // CHECK: encoding: [0x0f,0x00,0xc0]
141 sldtl %eax
143 // CHECK: sldtw -485498096(%edx,%eax,4)
144 // CHECK: encoding: [0x0f,0x00,0x84,0x82,0x10,0xe3,0x0f,0xe3]
145 sldtw -485498096(%edx,%eax,4)
147 // CHECK: sldtw 485498096(%edx,%eax,4)
148 // CHECK: encoding: [0x0f,0x00,0x84,0x82,0xf0,0x1c,0xf0,0x1c]
149 sldtw 485498096(%edx,%eax,4)
151 // CHECK: sldtw 485498096(%edx)
152 // CHECK: encoding: [0x0f,0x00,0x82,0xf0,0x1c,0xf0,0x1c]
153 sldtw 485498096(%edx)
155 // CHECK: sldtw 485498096
156 // CHECK: encoding: [0x0f,0x00,0x05,0xf0,0x1c,0xf0,0x1c]
157 sldtw 485498096
159 // CHECK: sldtw 64(%edx,%eax)
160 // CHECK: encoding: [0x0f,0x00,0x44,0x02,0x40]
161 sldtw 64(%edx,%eax)
163 // CHECK: sldtw (%edx)
164 // CHECK: encoding: [0x0f,0x00,0x02]
165 sldtw (%edx)
167 // CHECK: smswl %eax
168 // CHECK: encoding: [0x0f,0x01,0xe0]
169 smswl %eax
171 // CHECK: smsww -485498096(%edx,%eax,4)
172 // CHECK: encoding: [0x0f,0x01,0xa4,0x82,0x10,0xe3,0x0f,0xe3]
173 smsww -485498096(%edx,%eax,4)
175 // CHECK: smsww 485498096(%edx,%eax,4)
176 // CHECK: encoding: [0x0f,0x01,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]
177 smsww 485498096(%edx,%eax,4)
179 // CHECK: smsww 485498096(%edx)
180 // CHECK: encoding: [0x0f,0x01,0xa2,0xf0,0x1c,0xf0,0x1c]
181 smsww 485498096(%edx)
183 // CHECK: smsww 485498096
184 // CHECK: encoding: [0x0f,0x01,0x25,0xf0,0x1c,0xf0,0x1c]
185 smsww 485498096
187 // CHECK: smsww 64(%edx,%eax)
188 // CHECK: encoding: [0x0f,0x01,0x64,0x02,0x40]
189 smsww 64(%edx,%eax)
191 // CHECK: smsww (%edx)
192 // CHECK: encoding: [0x0f,0x01,0x22]
193 smsww (%edx)
195 // CHECK: strl %eax
196 // CHECK: encoding: [0x0f,0x00,0xc8]
197 strl %eax
199 // CHECK: strw -485498096(%edx,%eax,4)
200 // CHECK: encoding: [0x0f,0x00,0x8c,0x82,0x10,0xe3,0x0f,0xe3]
201 strw -485498096(%edx,%eax,4)
203 // CHECK: strw 485498096(%edx,%eax,4)
204 // CHECK: encoding: [0x0f,0x00,0x8c,0x82,0xf0,0x1c,0xf0,0x1c]
205 strw 485498096(%edx,%eax,4)
207 // CHECK: strw 485498096(%edx)
208 // CHECK: encoding: [0x0f,0x00,0x8a,0xf0,0x1c,0xf0,0x1c]
209 strw 485498096(%edx)
211 // CHECK: strw 485498096
212 // CHECK: encoding: [0x0f,0x00,0x0d,0xf0,0x1c,0xf0,0x1c]
213 strw 485498096
215 // CHECK: strw 64(%edx,%eax)
216 // CHECK: encoding: [0x0f,0x00,0x4c,0x02,0x40]
217 strw 64(%edx,%eax)
219 // CHECK: strw (%edx)
220 // CHECK: encoding: [0x0f,0x00,0x0a]
221 strw (%edx)
223 // CHECK: verr -485498096(%edx,%eax,4)
224 // CHECK: encoding: [0x0f,0x00,0xa4,0x82,0x10,0xe3,0x0f,0xe3]
225 verr -485498096(%edx,%eax,4)
227 // CHECK: verr 485498096(%edx,%eax,4)
228 // CHECK: encoding: [0x0f,0x00,0xa4,0x82,0xf0,0x1c,0xf0,0x1c]
229 verr 485498096(%edx,%eax,4)
231 // CHECK: verr 485498096(%edx)
232 // CHECK: encoding: [0x0f,0x00,0xa2,0xf0,0x1c,0xf0,0x1c]
233 verr 485498096(%edx)
235 // CHECK: verr 485498096
236 // CHECK: encoding: [0x0f,0x00,0x25,0xf0,0x1c,0xf0,0x1c]
237 verr 485498096
239 // CHECK: verr 64(%edx,%eax)
240 // CHECK: encoding: [0x0f,0x00,0x64,0x02,0x40]
241 verr 64(%edx,%eax)
243 // CHECK: verr (%edx)
244 // CHECK: encoding: [0x0f,0x00,0x22]
245 verr (%edx)
247 // CHECK: verw -485498096(%edx,%eax,4)
248 // CHECK: encoding: [0x0f,0x00,0xac,0x82,0x10,0xe3,0x0f,0xe3]
249 verw -485498096(%edx,%eax,4)
251 // CHECK: verw 485498096(%edx,%eax,4)
252 // CHECK: encoding: [0x0f,0x00,0xac,0x82,0xf0,0x1c,0xf0,0x1c]
253 verw 485498096(%edx,%eax,4)
255 // CHECK: verw 485498096(%edx)
256 // CHECK: encoding: [0x0f,0x00,0xaa,0xf0,0x1c,0xf0,0x1c]
257 verw 485498096(%edx)
259 // CHECK: verw 485498096
260 // CHECK: encoding: [0x0f,0x00,0x2d,0xf0,0x1c,0xf0,0x1c]
261 verw 485498096
263 // CHECK: verw 64(%edx,%eax)
264 // CHECK: encoding: [0x0f,0x00,0x6c,0x02,0x40]
265 verw 64(%edx,%eax)
267 // CHECK: verw (%edx)
268 // CHECK: encoding: [0x0f,0x00,0x2a]
269 verw (%edx)