x86-32-avx.s revision 1deddbbd5659edc92028c2278018d21375ce3c81
1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
2
3// CHECK: vaddss  %xmm4, %xmm6, %xmm2
4// CHECK:  encoding: [0xc5,0xca,0x58,0xd4]
5          vaddss  %xmm4, %xmm6, %xmm2
6
7// CHECK: vmulss  %xmm4, %xmm6, %xmm2
8// CHECK:  encoding: [0xc5,0xca,0x59,0xd4]
9          vmulss  %xmm4, %xmm6, %xmm2
10
11// CHECK: vsubss  %xmm4, %xmm6, %xmm2
12// CHECK:  encoding: [0xc5,0xca,0x5c,0xd4]
13          vsubss  %xmm4, %xmm6, %xmm2
14
15// CHECK: vdivss  %xmm4, %xmm6, %xmm2
16// CHECK:  encoding: [0xc5,0xca,0x5e,0xd4]
17          vdivss  %xmm4, %xmm6, %xmm2
18
19// CHECK: vaddsd  %xmm4, %xmm6, %xmm2
20// CHECK:  encoding: [0xc5,0xcb,0x58,0xd4]
21          vaddsd  %xmm4, %xmm6, %xmm2
22
23// CHECK: vmulsd  %xmm4, %xmm6, %xmm2
24// CHECK:  encoding: [0xc5,0xcb,0x59,0xd4]
25          vmulsd  %xmm4, %xmm6, %xmm2
26
27// CHECK: vsubsd  %xmm4, %xmm6, %xmm2
28// CHECK:  encoding: [0xc5,0xcb,0x5c,0xd4]
29          vsubsd  %xmm4, %xmm6, %xmm2
30
31// CHECK: vdivsd  %xmm4, %xmm6, %xmm2
32// CHECK:  encoding: [0xc5,0xcb,0x5e,0xd4]
33          vdivsd  %xmm4, %xmm6, %xmm2
34
35// CHECK: vaddss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
36// CHECK:  encoding: [0xc5,0xea,0x58,0xac,0xcb,0xef,0xbe,0xad,0xde]
37          vaddss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
38
39// CHECK: vsubss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
40// CHECK:  encoding: [0xc5,0xea,0x5c,0xac,0xcb,0xef,0xbe,0xad,0xde]
41          vsubss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
42
43// CHECK: vmulss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
44// CHECK:  encoding: [0xc5,0xea,0x59,0xac,0xcb,0xef,0xbe,0xad,0xde]
45          vmulss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
46
47// CHECK: vdivss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
48// CHECK:  encoding: [0xc5,0xea,0x5e,0xac,0xcb,0xef,0xbe,0xad,0xde]
49          vdivss  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
50
51// CHECK: vaddsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
52// CHECK:  encoding: [0xc5,0xeb,0x58,0xac,0xcb,0xef,0xbe,0xad,0xde]
53          vaddsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
54
55// CHECK: vsubsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
56// CHECK:  encoding: [0xc5,0xeb,0x5c,0xac,0xcb,0xef,0xbe,0xad,0xde]
57          vsubsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
58
59// CHECK: vmulsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
60// CHECK:  encoding: [0xc5,0xeb,0x59,0xac,0xcb,0xef,0xbe,0xad,0xde]
61          vmulsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
62
63// CHECK: vdivsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
64// CHECK:  encoding: [0xc5,0xeb,0x5e,0xac,0xcb,0xef,0xbe,0xad,0xde]
65          vdivsd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
66
67// CHECK: vaddps  %xmm4, %xmm6, %xmm2
68// CHECK: encoding: [0xc5,0xc8,0x58,0xd4]
69          vaddps  %xmm4, %xmm6, %xmm2
70
71// CHECK: vsubps  %xmm4, %xmm6, %xmm2
72// CHECK: encoding: [0xc5,0xc8,0x5c,0xd4]
73          vsubps  %xmm4, %xmm6, %xmm2
74
75// CHECK: vmulps  %xmm4, %xmm6, %xmm2
76// CHECK: encoding: [0xc5,0xc8,0x59,0xd4]
77          vmulps  %xmm4, %xmm6, %xmm2
78
79// CHECK: vdivps  %xmm4, %xmm6, %xmm2
80// CHECK: encoding: [0xc5,0xc8,0x5e,0xd4]
81          vdivps  %xmm4, %xmm6, %xmm2
82
83// CHECK: vaddpd  %xmm4, %xmm6, %xmm2
84// CHECK: encoding: [0xc5,0xc9,0x58,0xd4]
85          vaddpd  %xmm4, %xmm6, %xmm2
86
87// CHECK: vsubpd  %xmm4, %xmm6, %xmm2
88// CHECK: encoding: [0xc5,0xc9,0x5c,0xd4]
89          vsubpd  %xmm4, %xmm6, %xmm2
90
91// CHECK: vmulpd  %xmm4, %xmm6, %xmm2
92// CHECK: encoding: [0xc5,0xc9,0x59,0xd4]
93          vmulpd  %xmm4, %xmm6, %xmm2
94
95// CHECK: vdivpd  %xmm4, %xmm6, %xmm2
96// CHECK: encoding: [0xc5,0xc9,0x5e,0xd4]
97          vdivpd  %xmm4, %xmm6, %xmm2
98
99// CHECK: vaddps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
100// CHECK: encoding: [0xc5,0xe8,0x58,0xac,0xcb,0xef,0xbe,0xad,0xde]
101          vaddps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
102
103// CHECK: vsubps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
104// CHECK: encoding: [0xc5,0xe8,0x5c,0xac,0xcb,0xef,0xbe,0xad,0xde]
105          vsubps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
106
107// CHECK: vmulps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
108// CHECK: encoding: [0xc5,0xe8,0x59,0xac,0xcb,0xef,0xbe,0xad,0xde]
109          vmulps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
110
111// CHECK: vdivps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
112// CHECK: encoding: [0xc5,0xe8,0x5e,0xac,0xcb,0xef,0xbe,0xad,0xde]
113          vdivps  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
114
115// CHECK: vaddpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
116// CHECK: encoding: [0xc5,0xe9,0x58,0xac,0xcb,0xef,0xbe,0xad,0xde]
117          vaddpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
118
119// CHECK: vsubpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
120// CHECK: encoding: [0xc5,0xe9,0x5c,0xac,0xcb,0xef,0xbe,0xad,0xde]
121          vsubpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
122
123// CHECK: vmulpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
124// CHECK: encoding: [0xc5,0xe9,0x59,0xac,0xcb,0xef,0xbe,0xad,0xde]
125          vmulpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
126
127// CHECK: vdivpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
128// CHECK: encoding: [0xc5,0xe9,0x5e,0xac,0xcb,0xef,0xbe,0xad,0xde]
129          vdivpd  3735928559(%ebx,%ecx,8), %xmm2, %xmm5
130// CHECK: vmaxss  %xmm2, %xmm4, %xmm6
131// CHECK: encoding: [0xc5,0xda,0x5f,0xf2]
132          vmaxss  %xmm2, %xmm4, %xmm6
133
134// CHECK: vmaxsd  %xmm2, %xmm4, %xmm6
135// CHECK: encoding: [0xc5,0xdb,0x5f,0xf2]
136          vmaxsd  %xmm2, %xmm4, %xmm6
137
138// CHECK: vminss  %xmm2, %xmm4, %xmm6
139// CHECK: encoding: [0xc5,0xda,0x5d,0xf2]
140          vminss  %xmm2, %xmm4, %xmm6
141
142// CHECK: vminsd  %xmm2, %xmm4, %xmm6
143// CHECK: encoding: [0xc5,0xdb,0x5d,0xf2]
144          vminsd  %xmm2, %xmm4, %xmm6
145
146// CHECK: vmaxss  -4(%ebx,%ecx,8), %xmm2, %xmm5
147// CHECK: encoding: [0xc5,0xea,0x5f,0x6c,0xcb,0xfc]
148          vmaxss  -4(%ebx,%ecx,8), %xmm2, %xmm5
149
150// CHECK: vmaxsd  -4(%ebx,%ecx,8), %xmm2, %xmm5
151// CHECK: encoding: [0xc5,0xeb,0x5f,0x6c,0xcb,0xfc]
152          vmaxsd  -4(%ebx,%ecx,8), %xmm2, %xmm5
153
154// CHECK: vminss  -4(%ebx,%ecx,8), %xmm2, %xmm5
155// CHECK: encoding: [0xc5,0xea,0x5d,0x6c,0xcb,0xfc]
156          vminss  -4(%ebx,%ecx,8), %xmm2, %xmm5
157
158// CHECK: vminsd  -4(%ebx,%ecx,8), %xmm2, %xmm5
159// CHECK: encoding: [0xc5,0xeb,0x5d,0x6c,0xcb,0xfc]
160          vminsd  -4(%ebx,%ecx,8), %xmm2, %xmm5
161
162// CHECK: vmaxps  %xmm2, %xmm4, %xmm6
163// CHECK: encoding: [0xc5,0xd8,0x5f,0xf2]
164          vmaxps  %xmm2, %xmm4, %xmm6
165
166// CHECK: vmaxpd  %xmm2, %xmm4, %xmm6
167// CHECK: encoding: [0xc5,0xd9,0x5f,0xf2]
168          vmaxpd  %xmm2, %xmm4, %xmm6
169
170// CHECK: vminps  %xmm2, %xmm4, %xmm6
171// CHECK: encoding: [0xc5,0xd8,0x5d,0xf2]
172          vminps  %xmm2, %xmm4, %xmm6
173
174// CHECK: vminpd  %xmm2, %xmm4, %xmm6
175// CHECK: encoding: [0xc5,0xd9,0x5d,0xf2]
176          vminpd  %xmm2, %xmm4, %xmm6
177
178// CHECK: vmaxps  -4(%ebx,%ecx,8), %xmm2, %xmm5
179// CHECK: encoding: [0xc5,0xe8,0x5f,0x6c,0xcb,0xfc]
180          vmaxps  -4(%ebx,%ecx,8), %xmm2, %xmm5
181
182// CHECK: vmaxpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
183// CHECK: encoding: [0xc5,0xe9,0x5f,0x6c,0xcb,0xfc]
184          vmaxpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
185
186// CHECK: vminps  -4(%ebx,%ecx,8), %xmm2, %xmm5
187// CHECK: encoding: [0xc5,0xe8,0x5d,0x6c,0xcb,0xfc]
188          vminps  -4(%ebx,%ecx,8), %xmm2, %xmm5
189
190// CHECK: vminpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
191// CHECK: encoding: [0xc5,0xe9,0x5d,0x6c,0xcb,0xfc]
192          vminpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
193
194// CHECK: vandps  %xmm2, %xmm4, %xmm6
195// CHECK: encoding: [0xc5,0xd8,0x54,0xf2]
196          vandps  %xmm2, %xmm4, %xmm6
197
198// CHECK: vandpd  %xmm2, %xmm4, %xmm6
199// CHECK: encoding: [0xc5,0xd9,0x54,0xf2]
200          vandpd  %xmm2, %xmm4, %xmm6
201
202// CHECK: vandps  -4(%ebx,%ecx,8), %xmm2, %xmm5
203// CHECK: encoding: [0xc5,0xe8,0x54,0x6c,0xcb,0xfc]
204          vandps  -4(%ebx,%ecx,8), %xmm2, %xmm5
205
206// CHECK: vandpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
207// CHECK: encoding: [0xc5,0xe9,0x54,0x6c,0xcb,0xfc]
208          vandpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
209
210// CHECK: vorps  %xmm2, %xmm4, %xmm6
211// CHECK: encoding: [0xc5,0xd8,0x56,0xf2]
212          vorps  %xmm2, %xmm4, %xmm6
213
214// CHECK: vorpd  %xmm2, %xmm4, %xmm6
215// CHECK: encoding: [0xc5,0xd9,0x56,0xf2]
216          vorpd  %xmm2, %xmm4, %xmm6
217
218// CHECK: vorps  -4(%ebx,%ecx,8), %xmm2, %xmm5
219// CHECK: encoding: [0xc5,0xe8,0x56,0x6c,0xcb,0xfc]
220          vorps  -4(%ebx,%ecx,8), %xmm2, %xmm5
221
222// CHECK: vorpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
223// CHECK: encoding: [0xc5,0xe9,0x56,0x6c,0xcb,0xfc]
224          vorpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
225
226// CHECK: vxorps  %xmm2, %xmm4, %xmm6
227// CHECK: encoding: [0xc5,0xd8,0x57,0xf2]
228          vxorps  %xmm2, %xmm4, %xmm6
229
230// CHECK: vxorpd  %xmm2, %xmm4, %xmm6
231// CHECK: encoding: [0xc5,0xd9,0x57,0xf2]
232          vxorpd  %xmm2, %xmm4, %xmm6
233
234// CHECK: vxorps  -4(%ebx,%ecx,8), %xmm2, %xmm5
235// CHECK: encoding: [0xc5,0xe8,0x57,0x6c,0xcb,0xfc]
236          vxorps  -4(%ebx,%ecx,8), %xmm2, %xmm5
237
238// CHECK: vxorpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
239// CHECK: encoding: [0xc5,0xe9,0x57,0x6c,0xcb,0xfc]
240          vxorpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
241
242// CHECK: vandnps  %xmm2, %xmm4, %xmm6
243// CHECK: encoding: [0xc5,0xd8,0x55,0xf2]
244          vandnps  %xmm2, %xmm4, %xmm6
245
246// CHECK: vandnpd  %xmm2, %xmm4, %xmm6
247// CHECK: encoding: [0xc5,0xd9,0x55,0xf2]
248          vandnpd  %xmm2, %xmm4, %xmm6
249
250// CHECK: vandnps  -4(%ebx,%ecx,8), %xmm2, %xmm5
251// CHECK: encoding: [0xc5,0xe8,0x55,0x6c,0xcb,0xfc]
252          vandnps  -4(%ebx,%ecx,8), %xmm2, %xmm5
253
254// CHECK: vandnpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
255// CHECK: encoding: [0xc5,0xe9,0x55,0x6c,0xcb,0xfc]
256          vandnpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
257
258// CHECK: vmovss  -4(%ebx,%ecx,8), %xmm5
259// CHECK: encoding: [0xc5,0xfa,0x10,0x6c,0xcb,0xfc]
260          vmovss  -4(%ebx,%ecx,8), %xmm5
261
262// CHECK: vmovss  %xmm4, %xmm2, %xmm5
263// CHECK: encoding: [0xc5,0xea,0x10,0xec]
264          vmovss  %xmm4, %xmm2, %xmm5
265
266// CHECK: vmovsd  -4(%ebx,%ecx,8), %xmm5
267// CHECK: encoding: [0xc5,0xfb,0x10,0x6c,0xcb,0xfc]
268          vmovsd  -4(%ebx,%ecx,8), %xmm5
269
270// CHECK: vmovsd  %xmm4, %xmm2, %xmm5
271// CHECK: encoding: [0xc5,0xeb,0x10,0xec]
272          vmovsd  %xmm4, %xmm2, %xmm5
273
274// CHECK: vunpckhps  %xmm1, %xmm2, %xmm4
275// CHECK: encoding: [0xc5,0xe8,0x15,0xe1]
276          vunpckhps  %xmm1, %xmm2, %xmm4
277
278// CHECK: vunpckhpd  %xmm1, %xmm2, %xmm4
279// CHECK: encoding: [0xc5,0xe9,0x15,0xe1]
280          vunpckhpd  %xmm1, %xmm2, %xmm4
281
282// CHECK: vunpcklps  %xmm1, %xmm2, %xmm4
283// CHECK: encoding: [0xc5,0xe8,0x14,0xe1]
284          vunpcklps  %xmm1, %xmm2, %xmm4
285
286// CHECK: vunpcklpd  %xmm1, %xmm2, %xmm4
287// CHECK: encoding: [0xc5,0xe9,0x14,0xe1]
288          vunpcklpd  %xmm1, %xmm2, %xmm4
289
290// CHECK: vunpckhps  -4(%ebx,%ecx,8), %xmm2, %xmm5
291// CHECK: encoding: [0xc5,0xe8,0x15,0x6c,0xcb,0xfc]
292          vunpckhps  -4(%ebx,%ecx,8), %xmm2, %xmm5
293
294// CHECK: vunpckhpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
295// CHECK: encoding: [0xc5,0xe9,0x15,0x6c,0xcb,0xfc]
296          vunpckhpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
297
298// CHECK: vunpcklps  -4(%ebx,%ecx,8), %xmm2, %xmm5
299// CHECK: encoding: [0xc5,0xe8,0x14,0x6c,0xcb,0xfc]
300          vunpcklps  -4(%ebx,%ecx,8), %xmm2, %xmm5
301
302// CHECK: vunpcklpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
303// CHECK: encoding: [0xc5,0xe9,0x14,0x6c,0xcb,0xfc]
304          vunpcklpd  -4(%ebx,%ecx,8), %xmm2, %xmm5
305
306// CHECK: vcmpps  $0, %xmm0, %xmm6, %xmm1
307// CHECK: encoding: [0xc5,0xc8,0xc2,0xc8,0x00]
308          vcmpps  $0, %xmm0, %xmm6, %xmm1
309
310// CHECK: vcmpps  $0, (%eax), %xmm6, %xmm1
311// CHECK: encoding: [0xc5,0xc8,0xc2,0x08,0x00]
312          vcmpps  $0, (%eax), %xmm6, %xmm1
313
314// CHECK: vcmpps  $7, %xmm0, %xmm6, %xmm1
315// CHECK: encoding: [0xc5,0xc8,0xc2,0xc8,0x07]
316          vcmpps  $7, %xmm0, %xmm6, %xmm1
317
318// CHECK: vcmppd  $0, %xmm0, %xmm6, %xmm1
319// CHECK: encoding: [0xc5,0xc9,0xc2,0xc8,0x00]
320          vcmppd  $0, %xmm0, %xmm6, %xmm1
321
322// CHECK: vcmppd  $0, (%eax), %xmm6, %xmm1
323// CHECK: encoding: [0xc5,0xc9,0xc2,0x08,0x00]
324          vcmppd  $0, (%eax), %xmm6, %xmm1
325
326// CHECK: vcmppd  $7, %xmm0, %xmm6, %xmm1
327// CHECK: encoding: [0xc5,0xc9,0xc2,0xc8,0x07]
328          vcmppd  $7, %xmm0, %xmm6, %xmm1
329
330// CHECK: vshufps  $8, %xmm1, %xmm2, %xmm3
331// CHECK: encoding: [0xc5,0xe8,0xc6,0xd9,0x08]
332          vshufps  $8, %xmm1, %xmm2, %xmm3
333
334// CHECK: vshufps  $8, -4(%ebx,%ecx,8), %xmm2, %xmm3
335// CHECK: encoding: [0xc5,0xe8,0xc6,0x5c,0xcb,0xfc,0x08]
336          vshufps  $8, -4(%ebx,%ecx,8), %xmm2, %xmm3
337
338// CHECK: vshufpd  $8, %xmm1, %xmm2, %xmm3
339// CHECK: encoding: [0xc5,0xe9,0xc6,0xd9,0x08]
340          vshufpd  $8, %xmm1, %xmm2, %xmm3
341
342// CHECK: vshufpd  $8, -4(%ebx,%ecx,8), %xmm2, %xmm3
343// CHECK: encoding: [0xc5,0xe9,0xc6,0x5c,0xcb,0xfc,0x08]
344          vshufpd  $8, -4(%ebx,%ecx,8), %xmm2, %xmm3
345
346// CHECK: vcmpps  $0, %xmm1, %xmm2, %xmm3
347// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x00]
348          vcmpeqps   %xmm1, %xmm2, %xmm3
349
350// CHECK: vcmpps  $2, %xmm1, %xmm2, %xmm3
351// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x02]
352          vcmpleps   %xmm1, %xmm2, %xmm3
353
354// CHECK: vcmpps  $1, %xmm1, %xmm2, %xmm3
355// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x01]
356          vcmpltps   %xmm1, %xmm2, %xmm3
357
358// CHECK: vcmpps  $4, %xmm1, %xmm2, %xmm3
359// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x04]
360          vcmpneqps   %xmm1, %xmm2, %xmm3
361
362// CHECK: vcmpps  $6, %xmm1, %xmm2, %xmm3
363// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x06]
364          vcmpnleps   %xmm1, %xmm2, %xmm3
365
366// CHECK: vcmpps  $5, %xmm1, %xmm2, %xmm3
367// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x05]
368          vcmpnltps   %xmm1, %xmm2, %xmm3
369
370// CHECK: vcmpps  $7, %xmm1, %xmm2, %xmm3
371// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x07]
372          vcmpordps   %xmm1, %xmm2, %xmm3
373
374// CHECK: vcmpps  $3, %xmm1, %xmm2, %xmm3
375// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x03]
376          vcmpunordps   %xmm1, %xmm2, %xmm3
377
378// CHECK: vcmpps  $0, -4(%ebx,%ecx,8), %xmm2, %xmm3
379// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x00]
380          vcmpeqps   -4(%ebx,%ecx,8), %xmm2, %xmm3
381
382// CHECK: vcmpps  $2, -4(%ebx,%ecx,8), %xmm2, %xmm3
383// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x02]
384          vcmpleps   -4(%ebx,%ecx,8), %xmm2, %xmm3
385
386// CHECK: vcmpps  $1, -4(%ebx,%ecx,8), %xmm2, %xmm3
387// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x01]
388          vcmpltps   -4(%ebx,%ecx,8), %xmm2, %xmm3
389
390// CHECK: vcmpps  $4, -4(%ebx,%ecx,8), %xmm2, %xmm3
391// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x04]
392          vcmpneqps   -4(%ebx,%ecx,8), %xmm2, %xmm3
393
394// CHECK: vcmpps  $6, -4(%ebx,%ecx,8), %xmm2, %xmm3
395// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x06]
396          vcmpnleps   -4(%ebx,%ecx,8), %xmm2, %xmm3
397
398// CHECK: vcmpps  $5, -4(%ebx,%ecx,8), %xmm2, %xmm3
399// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x05]
400          vcmpnltps   -4(%ebx,%ecx,8), %xmm2, %xmm3
401
402// CHECK: vcmpps  $7, -4(%ebx,%ecx,8), %xmm6, %xmm2
403// CHECK: encoding: [0xc5,0xc8,0xc2,0x54,0xcb,0xfc,0x07]
404          vcmpordps   -4(%ebx,%ecx,8), %xmm6, %xmm2
405
406// CHECK: vcmpps  $3, -4(%ebx,%ecx,8), %xmm2, %xmm3
407// CHECK: encoding: [0xc5,0xe8,0xc2,0x5c,0xcb,0xfc,0x03]
408          vcmpunordps   -4(%ebx,%ecx,8), %xmm2, %xmm3
409
410// CHECK: vcmppd  $0, %xmm1, %xmm2, %xmm3
411// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x00]
412          vcmpeqpd   %xmm1, %xmm2, %xmm3
413
414// CHECK: vcmppd  $2, %xmm1, %xmm2, %xmm3
415// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x02]
416          vcmplepd   %xmm1, %xmm2, %xmm3
417
418// CHECK: vcmppd  $1, %xmm1, %xmm2, %xmm3
419// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x01]
420          vcmpltpd   %xmm1, %xmm2, %xmm3
421
422// CHECK: vcmppd  $4, %xmm1, %xmm2, %xmm3
423// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x04]
424          vcmpneqpd   %xmm1, %xmm2, %xmm3
425
426// CHECK: vcmppd  $6, %xmm1, %xmm2, %xmm3
427// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x06]
428          vcmpnlepd   %xmm1, %xmm2, %xmm3
429
430// CHECK: vcmppd  $5, %xmm1, %xmm2, %xmm3
431// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x05]
432          vcmpnltpd   %xmm1, %xmm2, %xmm3
433
434// CHECK: vcmppd  $7, %xmm1, %xmm2, %xmm3
435// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x07]
436          vcmpordpd   %xmm1, %xmm2, %xmm3
437
438// CHECK: vcmppd  $3, %xmm1, %xmm2, %xmm3
439// CHECK: encoding: [0xc5,0xe9,0xc2,0xd9,0x03]
440          vcmpunordpd   %xmm1, %xmm2, %xmm3
441
442// CHECK: vcmppd  $0, -4(%ebx,%ecx,8), %xmm2, %xmm3
443// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x00]
444          vcmpeqpd   -4(%ebx,%ecx,8), %xmm2, %xmm3
445
446// CHECK: vcmppd  $2, -4(%ebx,%ecx,8), %xmm2, %xmm3
447// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x02]
448          vcmplepd   -4(%ebx,%ecx,8), %xmm2, %xmm3
449
450// CHECK: vcmppd  $1, -4(%ebx,%ecx,8), %xmm2, %xmm3
451// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x01]
452          vcmpltpd   -4(%ebx,%ecx,8), %xmm2, %xmm3
453
454// CHECK: vcmppd  $4, -4(%ebx,%ecx,8), %xmm2, %xmm3
455// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x04]
456          vcmpneqpd   -4(%ebx,%ecx,8), %xmm2, %xmm3
457
458// CHECK: vcmppd  $6, -4(%ebx,%ecx,8), %xmm2, %xmm3
459// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x06]
460          vcmpnlepd   -4(%ebx,%ecx,8), %xmm2, %xmm3
461
462// CHECK: vcmppd  $5, -4(%ebx,%ecx,8), %xmm2, %xmm3
463// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x05]
464          vcmpnltpd   -4(%ebx,%ecx,8), %xmm2, %xmm3
465
466// CHECK: vcmppd  $7, -4(%ebx,%ecx,8), %xmm6, %xmm2
467// CHECK: encoding: [0xc5,0xc9,0xc2,0x54,0xcb,0xfc,0x07]
468          vcmpordpd   -4(%ebx,%ecx,8), %xmm6, %xmm2
469
470// CHECK: vcmppd  $3, -4(%ebx,%ecx,8), %xmm2, %xmm3
471// CHECK: encoding: [0xc5,0xe9,0xc2,0x5c,0xcb,0xfc,0x03]
472          vcmpunordpd   -4(%ebx,%ecx,8), %xmm2, %xmm3
473
474// CHECK: vmovmskps  %xmm2, %eax
475// CHECK: encoding: [0xc5,0xf8,0x50,0xc2]
476          vmovmskps  %xmm2, %eax
477
478// CHECK: vmovmskpd  %xmm2, %eax
479// CHECK: encoding: [0xc5,0xf9,0x50,0xc2]
480          vmovmskpd  %xmm2, %eax
481
482// CHECK: vmovmskps  %ymm2, %eax
483// CHECK: encoding: [0xc5,0xfc,0x50,0xc2]
484          vmovmskps  %ymm2, %eax
485
486// CHECK: vmovmskpd  %ymm2, %eax
487// CHECK: encoding: [0xc5,0xfd,0x50,0xc2]
488          vmovmskpd  %ymm2, %eax
489
490// CHECK: vcmpss  $0, %xmm1, %xmm2, %xmm3
491// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x00]
492          vcmpeqss   %xmm1, %xmm2, %xmm3
493
494// CHECK: vcmpss  $2, %xmm1, %xmm2, %xmm3
495// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x02]
496          vcmpless   %xmm1, %xmm2, %xmm3
497
498// CHECK: vcmpss  $1, %xmm1, %xmm2, %xmm3
499// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x01]
500          vcmpltss   %xmm1, %xmm2, %xmm3
501
502// CHECK: vcmpss  $4, %xmm1, %xmm2, %xmm3
503// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x04]
504          vcmpneqss   %xmm1, %xmm2, %xmm3
505
506// CHECK: vcmpss  $6, %xmm1, %xmm2, %xmm3
507// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x06]
508          vcmpnless   %xmm1, %xmm2, %xmm3
509
510// CHECK: vcmpss  $5, %xmm1, %xmm2, %xmm3
511// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x05]
512          vcmpnltss   %xmm1, %xmm2, %xmm3
513
514// CHECK: vcmpss  $7, %xmm1, %xmm2, %xmm3
515// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x07]
516          vcmpordss   %xmm1, %xmm2, %xmm3
517
518// CHECK: vcmpss  $3, %xmm1, %xmm2, %xmm3
519// CHECK: encoding: [0xc5,0xea,0xc2,0xd9,0x03]
520          vcmpunordss   %xmm1, %xmm2, %xmm3
521
522// CHECK: vcmpss  $0, -4(%ebx,%ecx,8), %xmm2, %xmm3
523// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x00]
524          vcmpeqss   -4(%ebx,%ecx,8), %xmm2, %xmm3
525
526// CHECK: vcmpss  $2, -4(%ebx,%ecx,8), %xmm2, %xmm3
527// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x02]
528          vcmpless   -4(%ebx,%ecx,8), %xmm2, %xmm3
529
530// CHECK: vcmpss  $1, -4(%ebx,%ecx,8), %xmm2, %xmm3
531// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x01]
532          vcmpltss   -4(%ebx,%ecx,8), %xmm2, %xmm3
533
534// CHECK: vcmpss  $4, -4(%ebx,%ecx,8), %xmm2, %xmm3
535// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x04]
536          vcmpneqss   -4(%ebx,%ecx,8), %xmm2, %xmm3
537
538// CHECK: vcmpss  $6, -4(%ebx,%ecx,8), %xmm2, %xmm3
539// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x06]
540          vcmpnless   -4(%ebx,%ecx,8), %xmm2, %xmm3
541
542// CHECK: vcmpss  $5, -4(%ebx,%ecx,8), %xmm2, %xmm3
543// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x05]
544          vcmpnltss   -4(%ebx,%ecx,8), %xmm2, %xmm3
545
546// CHECK: vcmpss  $7, -4(%ebx,%ecx,8), %xmm6, %xmm2
547// CHECK: encoding: [0xc5,0xca,0xc2,0x54,0xcb,0xfc,0x07]
548          vcmpordss   -4(%ebx,%ecx,8), %xmm6, %xmm2
549
550// CHECK: vcmpss  $3, -4(%ebx,%ecx,8), %xmm2, %xmm3
551// CHECK: encoding: [0xc5,0xea,0xc2,0x5c,0xcb,0xfc,0x03]
552          vcmpunordss   -4(%ebx,%ecx,8), %xmm2, %xmm3
553
554// CHECK: vcmpsd  $0, %xmm1, %xmm2, %xmm3
555// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x00]
556          vcmpeqsd   %xmm1, %xmm2, %xmm3
557
558// CHECK: vcmpsd  $2, %xmm1, %xmm2, %xmm3
559// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x02]
560          vcmplesd   %xmm1, %xmm2, %xmm3
561
562// CHECK: vcmpsd  $1, %xmm1, %xmm2, %xmm3
563// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x01]
564          vcmpltsd   %xmm1, %xmm2, %xmm3
565
566// CHECK: vcmpsd  $4, %xmm1, %xmm2, %xmm3
567// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x04]
568          vcmpneqsd   %xmm1, %xmm2, %xmm3
569
570// CHECK: vcmpsd  $6, %xmm1, %xmm2, %xmm3
571// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x06]
572          vcmpnlesd   %xmm1, %xmm2, %xmm3
573
574// CHECK: vcmpsd  $5, %xmm1, %xmm2, %xmm3
575// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x05]
576          vcmpnltsd   %xmm1, %xmm2, %xmm3
577
578// CHECK: vcmpsd  $7, %xmm1, %xmm2, %xmm3
579// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x07]
580          vcmpordsd   %xmm1, %xmm2, %xmm3
581
582// CHECK: vcmpsd  $3, %xmm1, %xmm2, %xmm3
583// CHECK: encoding: [0xc5,0xeb,0xc2,0xd9,0x03]
584          vcmpunordsd   %xmm1, %xmm2, %xmm3
585
586// CHECK: vcmpsd  $0, -4(%ebx,%ecx,8), %xmm2, %xmm3
587// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x00]
588          vcmpeqsd   -4(%ebx,%ecx,8), %xmm2, %xmm3
589
590// CHECK: vcmpsd  $2, -4(%ebx,%ecx,8), %xmm2, %xmm3
591// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x02]
592          vcmplesd   -4(%ebx,%ecx,8), %xmm2, %xmm3
593
594// CHECK: vcmpsd  $1, -4(%ebx,%ecx,8), %xmm2, %xmm3
595// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x01]
596          vcmpltsd   -4(%ebx,%ecx,8), %xmm2, %xmm3
597
598// CHECK: vcmpsd  $4, -4(%ebx,%ecx,8), %xmm2, %xmm3
599// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x04]
600          vcmpneqsd   -4(%ebx,%ecx,8), %xmm2, %xmm3
601
602// CHECK: vcmpsd  $6, -4(%ebx,%ecx,8), %xmm2, %xmm3
603// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x06]
604          vcmpnlesd   -4(%ebx,%ecx,8), %xmm2, %xmm3
605
606// CHECK: vcmpsd  $5, -4(%ebx,%ecx,8), %xmm2, %xmm3
607// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x05]
608          vcmpnltsd   -4(%ebx,%ecx,8), %xmm2, %xmm3
609
610// CHECK: vcmpsd  $7, -4(%ebx,%ecx,8), %xmm6, %xmm2
611// CHECK: encoding: [0xc5,0xcb,0xc2,0x54,0xcb,0xfc,0x07]
612          vcmpordsd   -4(%ebx,%ecx,8), %xmm6, %xmm2
613
614// CHECK: vcmpsd  $3, -4(%ebx,%ecx,8), %xmm2, %xmm3
615// CHECK: encoding: [0xc5,0xeb,0xc2,0x5c,0xcb,0xfc,0x03]
616          vcmpunordsd   -4(%ebx,%ecx,8), %xmm2, %xmm3
617
618// CHECK: vucomiss  %xmm1, %xmm2
619// CHECK: encoding: [0xc5,0xf8,0x2e,0xd1]
620          vucomiss  %xmm1, %xmm2
621
622// CHECK: vucomiss  (%eax), %xmm2
623// CHECK: encoding: [0xc5,0xf8,0x2e,0x10]
624          vucomiss  (%eax), %xmm2
625
626// CHECK: vcomiss  %xmm1, %xmm2
627// CHECK: encoding: [0xc5,0xf8,0x2f,0xd1]
628          vcomiss  %xmm1, %xmm2
629
630// CHECK: vcomiss  (%eax), %xmm2
631// CHECK: encoding: [0xc5,0xf8,0x2f,0x10]
632          vcomiss  (%eax), %xmm2
633
634// CHECK: vucomisd  %xmm1, %xmm2
635// CHECK: encoding: [0xc5,0xf9,0x2e,0xd1]
636          vucomisd  %xmm1, %xmm2
637
638// CHECK: vucomisd  (%eax), %xmm2
639// CHECK: encoding: [0xc5,0xf9,0x2e,0x10]
640          vucomisd  (%eax), %xmm2
641
642// CHECK: vcomisd  %xmm1, %xmm2
643// CHECK: encoding: [0xc5,0xf9,0x2f,0xd1]
644          vcomisd  %xmm1, %xmm2
645
646// CHECK: vcomisd  (%eax), %xmm2
647// CHECK: encoding: [0xc5,0xf9,0x2f,0x10]
648          vcomisd  (%eax), %xmm2
649
650// CHECK: vcvttss2si  %xmm1, %eax
651// CHECK: encoding: [0xc5,0xfa,0x2c,0xc1]
652          vcvttss2si  %xmm1, %eax
653
654// CHECK: vcvttss2si  (%ecx), %eax
655// CHECK: encoding: [0xc5,0xfa,0x2c,0x01]
656          vcvttss2si  (%ecx), %eax
657
658// CHECK: vcvtsi2ss  (%eax), %xmm1, %xmm2
659// CHECK: encoding: [0xc5,0xf2,0x2a,0x10]
660          vcvtsi2ss  (%eax), %xmm1, %xmm2
661
662// CHECK: vcvtsi2ss  (%eax), %xmm1, %xmm2
663// CHECK: encoding: [0xc5,0xf2,0x2a,0x10]
664          vcvtsi2ss  (%eax), %xmm1, %xmm2
665
666// CHECK: vcvttsd2si  %xmm1, %eax
667// CHECK: encoding: [0xc5,0xfb,0x2c,0xc1]
668          vcvttsd2si  %xmm1, %eax
669
670// CHECK: vcvttsd2si  (%ecx), %eax
671// CHECK: encoding: [0xc5,0xfb,0x2c,0x01]
672          vcvttsd2si  (%ecx), %eax
673
674// CHECK: vcvtsi2sd  (%eax), %xmm1, %xmm2
675// CHECK: encoding: [0xc5,0xf3,0x2a,0x10]
676          vcvtsi2sd  (%eax), %xmm1, %xmm2
677
678// CHECK: vcvtsi2sd  (%eax), %xmm1, %xmm2
679// CHECK: encoding: [0xc5,0xf3,0x2a,0x10]
680          vcvtsi2sd  (%eax), %xmm1, %xmm2
681
682// CHECK: vmovaps  (%eax), %xmm2
683// CHECK: encoding: [0xc5,0xf8,0x28,0x10]
684          vmovaps  (%eax), %xmm2
685
686// CHECK: vmovaps  %xmm1, %xmm2
687// CHECK: encoding: [0xc5,0xf8,0x28,0xd1]
688          vmovaps  %xmm1, %xmm2
689
690// CHECK: vmovaps  %xmm1, (%eax)
691// CHECK: encoding: [0xc5,0xf8,0x29,0x08]
692          vmovaps  %xmm1, (%eax)
693
694// CHECK: vmovapd  (%eax), %xmm2
695// CHECK: encoding: [0xc5,0xf9,0x28,0x10]
696          vmovapd  (%eax), %xmm2
697
698// CHECK: vmovapd  %xmm1, %xmm2
699// CHECK: encoding: [0xc5,0xf9,0x28,0xd1]
700          vmovapd  %xmm1, %xmm2
701
702// CHECK: vmovapd  %xmm1, (%eax)
703// CHECK: encoding: [0xc5,0xf9,0x29,0x08]
704          vmovapd  %xmm1, (%eax)
705
706// CHECK: vmovups  (%eax), %xmm2
707// CHECK: encoding: [0xc5,0xf8,0x10,0x10]
708          vmovups  (%eax), %xmm2
709
710// CHECK: vmovups  %xmm1, %xmm2
711// CHECK: encoding: [0xc5,0xf8,0x10,0xd1]
712          vmovups  %xmm1, %xmm2
713
714// CHECK: vmovups  %xmm1, (%eax)
715// CHECK: encoding: [0xc5,0xf8,0x11,0x08]
716          vmovups  %xmm1, (%eax)
717
718// CHECK: vmovupd  (%eax), %xmm2
719// CHECK: encoding: [0xc5,0xf9,0x10,0x10]
720          vmovupd  (%eax), %xmm2
721
722// CHECK: vmovupd  %xmm1, %xmm2
723// CHECK: encoding: [0xc5,0xf9,0x10,0xd1]
724          vmovupd  %xmm1, %xmm2
725
726// CHECK: vmovupd  %xmm1, (%eax)
727// CHECK: encoding: [0xc5,0xf9,0x11,0x08]
728          vmovupd  %xmm1, (%eax)
729
730// CHECK: vmovlps  %xmm1, (%eax)
731// CHECK: encoding: [0xc5,0xf8,0x13,0x08]
732          vmovlps  %xmm1, (%eax)
733
734// CHECK: vmovlps  (%eax), %xmm2, %xmm3
735// CHECK: encoding: [0xc5,0xe8,0x12,0x18]
736          vmovlps  (%eax), %xmm2, %xmm3
737
738// CHECK: vmovlpd  %xmm1, (%eax)
739// CHECK: encoding: [0xc5,0xf9,0x13,0x08]
740          vmovlpd  %xmm1, (%eax)
741
742// CHECK: vmovlpd  (%eax), %xmm2, %xmm3
743// CHECK: encoding: [0xc5,0xe9,0x12,0x18]
744          vmovlpd  (%eax), %xmm2, %xmm3
745
746// CHECK: vmovhps  %xmm1, (%eax)
747// CHECK: encoding: [0xc5,0xf8,0x17,0x08]
748          vmovhps  %xmm1, (%eax)
749
750// CHECK: vmovhps  (%eax), %xmm2, %xmm3
751// CHECK: encoding: [0xc5,0xe8,0x16,0x18]
752          vmovhps  (%eax), %xmm2, %xmm3
753
754// CHECK: vmovhpd  %xmm1, (%eax)
755// CHECK: encoding: [0xc5,0xf9,0x17,0x08]
756          vmovhpd  %xmm1, (%eax)
757
758// CHECK: vmovhpd  (%eax), %xmm2, %xmm3
759// CHECK: encoding: [0xc5,0xe9,0x16,0x18]
760          vmovhpd  (%eax), %xmm2, %xmm3
761
762// CHECK: vmovlhps  %xmm1, %xmm2, %xmm3
763// CHECK: encoding: [0xc5,0xe8,0x16,0xd9]
764          vmovlhps  %xmm1, %xmm2, %xmm3
765
766// CHECK: vmovhlps  %xmm1, %xmm2, %xmm3
767// CHECK: encoding: [0xc5,0xe8,0x12,0xd9]
768          vmovhlps  %xmm1, %xmm2, %xmm3
769
770// CHECK: vcvtss2sil  %xmm1, %eax
771// CHECK: encoding: [0xc5,0xfa,0x2d,0xc1]
772          vcvtss2si  %xmm1, %eax
773
774// CHECK: vcvtss2sil  (%eax), %ebx
775// CHECK: encoding: [0xc5,0xfa,0x2d,0x18]
776          vcvtss2si  (%eax), %ebx
777
778// CHECK: vcvtdq2ps  %xmm5, %xmm6
779// CHECK: encoding: [0xc5,0xf8,0x5b,0xf5]
780          vcvtdq2ps  %xmm5, %xmm6
781
782// CHECK: vcvtdq2ps  (%eax), %xmm6
783// CHECK: encoding: [0xc5,0xf8,0x5b,0x30]
784          vcvtdq2ps  (%eax), %xmm6
785
786// CHECK: vcvtsd2ss  %xmm2, %xmm4, %xmm6
787// CHECK: encoding: [0xc5,0xdb,0x5a,0xf2]
788          vcvtsd2ss  %xmm2, %xmm4, %xmm6
789
790// CHECK: vcvtsd2ss  (%eax), %xmm4, %xmm6
791// CHECK: encoding: [0xc5,0xdb,0x5a,0x30]
792          vcvtsd2ss  (%eax), %xmm4, %xmm6
793
794// CHECK: vcvtps2dq  %xmm2, %xmm3
795// CHECK: encoding: [0xc5,0xf9,0x5b,0xda]
796          vcvtps2dq  %xmm2, %xmm3
797
798// CHECK: vcvtps2dq  (%eax), %xmm3
799// CHECK: encoding: [0xc5,0xf9,0x5b,0x18]
800          vcvtps2dq  (%eax), %xmm3
801
802// CHECK: vcvtss2sd  %xmm2, %xmm4, %xmm6
803// CHECK: encoding: [0xc5,0xda,0x5a,0xf2]
804          vcvtss2sd  %xmm2, %xmm4, %xmm6
805
806// CHECK: vcvtss2sd  (%eax), %xmm4, %xmm6
807// CHECK: encoding: [0xc5,0xda,0x5a,0x30]
808          vcvtss2sd  (%eax), %xmm4, %xmm6
809
810// CHECK: vcvtdq2ps  %xmm4, %xmm6
811// CHECK: encoding: [0xc5,0xf8,0x5b,0xf4]
812          vcvtdq2ps  %xmm4, %xmm6
813
814// CHECK: vcvtdq2ps  (%ecx), %xmm4
815// CHECK: encoding: [0xc5,0xf8,0x5b,0x21]
816          vcvtdq2ps  (%ecx), %xmm4
817
818// CHECK: vcvttps2dq  %xmm2, %xmm3
819// CHECK: encoding: [0xc5,0xfa,0x5b,0xda]
820          vcvttps2dq  %xmm2, %xmm3
821
822// CHECK: vcvttps2dq  (%eax), %xmm3
823// CHECK: encoding: [0xc5,0xfa,0x5b,0x18]
824          vcvttps2dq  (%eax), %xmm3
825
826// CHECK: vcvtps2pd  %xmm2, %xmm3
827// CHECK: encoding: [0xc5,0xf8,0x5a,0xda]
828          vcvtps2pd  %xmm2, %xmm3
829
830// CHECK: vcvtps2pd  (%eax), %xmm3
831// CHECK: encoding: [0xc5,0xf8,0x5a,0x18]
832          vcvtps2pd  (%eax), %xmm3
833
834// CHECK: vcvtpd2ps  %xmm2, %xmm3
835// CHECK: encoding: [0xc5,0xf9,0x5a,0xda]
836          vcvtpd2ps  %xmm2, %xmm3
837
838// CHECK: vsqrtpd  %xmm1, %xmm2
839// CHECK: encoding: [0xc5,0xf9,0x51,0xd1]
840          vsqrtpd  %xmm1, %xmm2
841
842// CHECK: vsqrtpd  (%eax), %xmm2
843// CHECK: encoding: [0xc5,0xf9,0x51,0x10]
844          vsqrtpd  (%eax), %xmm2
845
846// CHECK: vsqrtps  %xmm1, %xmm2
847// CHECK: encoding: [0xc5,0xf8,0x51,0xd1]
848          vsqrtps  %xmm1, %xmm2
849
850// CHECK: vsqrtps  (%eax), %xmm2
851// CHECK: encoding: [0xc5,0xf8,0x51,0x10]
852          vsqrtps  (%eax), %xmm2
853
854// CHECK: vsqrtsd  %xmm1, %xmm2, %xmm3
855// CHECK: encoding: [0xc5,0xeb,0x51,0xd9]
856          vsqrtsd  %xmm1, %xmm2, %xmm3
857
858// CHECK: vsqrtsd  (%eax), %xmm2, %xmm3
859// CHECK: encoding: [0xc5,0xeb,0x51,0x18]
860          vsqrtsd  (%eax), %xmm2, %xmm3
861
862// CHECK: vsqrtss  %xmm1, %xmm2, %xmm3
863// CHECK: encoding: [0xc5,0xea,0x51,0xd9]
864          vsqrtss  %xmm1, %xmm2, %xmm3
865
866// CHECK: vsqrtss  (%eax), %xmm2, %xmm3
867// CHECK: encoding: [0xc5,0xea,0x51,0x18]
868          vsqrtss  (%eax), %xmm2, %xmm3
869
870// CHECK: vrsqrtps  %xmm1, %xmm2
871// CHECK: encoding: [0xc5,0xf8,0x52,0xd1]
872          vrsqrtps  %xmm1, %xmm2
873
874// CHECK: vrsqrtps  (%eax), %xmm2
875// CHECK: encoding: [0xc5,0xf8,0x52,0x10]
876          vrsqrtps  (%eax), %xmm2
877
878// CHECK: vrsqrtss  %xmm1, %xmm2, %xmm3
879// CHECK: encoding: [0xc5,0xea,0x52,0xd9]
880          vrsqrtss  %xmm1, %xmm2, %xmm3
881
882// CHECK: vrsqrtss  (%eax), %xmm2, %xmm3
883// CHECK: encoding: [0xc5,0xea,0x52,0x18]
884          vrsqrtss  (%eax), %xmm2, %xmm3
885
886// CHECK: vrcpps  %xmm1, %xmm2
887// CHECK: encoding: [0xc5,0xf8,0x53,0xd1]
888          vrcpps  %xmm1, %xmm2
889
890// CHECK: vrcpps  (%eax), %xmm2
891// CHECK: encoding: [0xc5,0xf8,0x53,0x10]
892          vrcpps  (%eax), %xmm2
893
894// CHECK: vrcpss  %xmm1, %xmm2, %xmm3
895// CHECK: encoding: [0xc5,0xea,0x53,0xd9]
896          vrcpss  %xmm1, %xmm2, %xmm3
897
898// CHECK: vrcpss  (%eax), %xmm2, %xmm3
899// CHECK: encoding: [0xc5,0xea,0x53,0x18]
900          vrcpss  (%eax), %xmm2, %xmm3
901
902// CHECK: vmovntdq  %xmm1, (%eax)
903// CHECK: encoding: [0xc5,0xf9,0xe7,0x08]
904          vmovntdq  %xmm1, (%eax)
905
906// CHECK: vmovntpd  %xmm1, (%eax)
907// CHECK: encoding: [0xc5,0xf9,0x2b,0x08]
908          vmovntpd  %xmm1, (%eax)
909
910// CHECK: vmovntps  %xmm1, (%eax)
911// CHECK: encoding: [0xc5,0xf8,0x2b,0x08]
912          vmovntps  %xmm1, (%eax)
913
914// CHECK: vldmxcsr  (%eax)
915// CHECK: encoding: [0xc5,0xf8,0xae,0x10]
916          vldmxcsr  (%eax)
917
918// CHECK: vstmxcsr  (%eax)
919// CHECK: encoding: [0xc5,0xf8,0xae,0x18]
920          vstmxcsr  (%eax)
921
922// CHECK: vldmxcsr  3735928559
923// CHECK: encoding: [0xc5,0xf8,0xae,0x15,0xef,0xbe,0xad,0xde]
924          vldmxcsr  0xdeadbeef
925
926// CHECK: vstmxcsr  3735928559
927// CHECK: encoding: [0xc5,0xf8,0xae,0x1d,0xef,0xbe,0xad,0xde]
928          vstmxcsr  0xdeadbeef
929
930// CHECK: vpsubb  %xmm1, %xmm2, %xmm3
931// CHECK: encoding: [0xc5,0xe9,0xf8,0xd9]
932          vpsubb  %xmm1, %xmm2, %xmm3
933
934// CHECK: vpsubb  (%eax), %xmm2, %xmm3
935// CHECK: encoding: [0xc5,0xe9,0xf8,0x18]
936          vpsubb  (%eax), %xmm2, %xmm3
937
938// CHECK: vpsubw  %xmm1, %xmm2, %xmm3
939// CHECK: encoding: [0xc5,0xe9,0xf9,0xd9]
940          vpsubw  %xmm1, %xmm2, %xmm3
941
942// CHECK: vpsubw  (%eax), %xmm2, %xmm3
943// CHECK: encoding: [0xc5,0xe9,0xf9,0x18]
944          vpsubw  (%eax), %xmm2, %xmm3
945
946// CHECK: vpsubd  %xmm1, %xmm2, %xmm3
947// CHECK: encoding: [0xc5,0xe9,0xfa,0xd9]
948          vpsubd  %xmm1, %xmm2, %xmm3
949
950// CHECK: vpsubd  (%eax), %xmm2, %xmm3
951// CHECK: encoding: [0xc5,0xe9,0xfa,0x18]
952          vpsubd  (%eax), %xmm2, %xmm3
953
954// CHECK: vpsubq  %xmm1, %xmm2, %xmm3
955// CHECK: encoding: [0xc5,0xe9,0xfb,0xd9]
956          vpsubq  %xmm1, %xmm2, %xmm3
957
958// CHECK: vpsubq  (%eax), %xmm2, %xmm3
959// CHECK: encoding: [0xc5,0xe9,0xfb,0x18]
960          vpsubq  (%eax), %xmm2, %xmm3
961
962// CHECK: vpsubsb  %xmm1, %xmm2, %xmm3
963// CHECK: encoding: [0xc5,0xe9,0xe8,0xd9]
964          vpsubsb  %xmm1, %xmm2, %xmm3
965
966// CHECK: vpsubsb  (%eax), %xmm2, %xmm3
967// CHECK: encoding: [0xc5,0xe9,0xe8,0x18]
968          vpsubsb  (%eax), %xmm2, %xmm3
969
970// CHECK: vpsubsw  %xmm1, %xmm2, %xmm3
971// CHECK: encoding: [0xc5,0xe9,0xe9,0xd9]
972          vpsubsw  %xmm1, %xmm2, %xmm3
973
974// CHECK: vpsubsw  (%eax), %xmm2, %xmm3
975// CHECK: encoding: [0xc5,0xe9,0xe9,0x18]
976          vpsubsw  (%eax), %xmm2, %xmm3
977
978// CHECK: vpsubusb  %xmm1, %xmm2, %xmm3
979// CHECK: encoding: [0xc5,0xe9,0xd8,0xd9]
980          vpsubusb  %xmm1, %xmm2, %xmm3
981
982// CHECK: vpsubusb  (%eax), %xmm2, %xmm3
983// CHECK: encoding: [0xc5,0xe9,0xd8,0x18]
984          vpsubusb  (%eax), %xmm2, %xmm3
985
986// CHECK: vpsubusw  %xmm1, %xmm2, %xmm3
987// CHECK: encoding: [0xc5,0xe9,0xd9,0xd9]
988          vpsubusw  %xmm1, %xmm2, %xmm3
989
990// CHECK: vpsubusw  (%eax), %xmm2, %xmm3
991// CHECK: encoding: [0xc5,0xe9,0xd9,0x18]
992          vpsubusw  (%eax), %xmm2, %xmm3
993
994// CHECK: vpaddb  %xmm1, %xmm2, %xmm3
995// CHECK: encoding: [0xc5,0xe9,0xfc,0xd9]
996          vpaddb  %xmm1, %xmm2, %xmm3
997
998// CHECK: vpaddb  (%eax), %xmm2, %xmm3
999// CHECK: encoding: [0xc5,0xe9,0xfc,0x18]
1000          vpaddb  (%eax), %xmm2, %xmm3
1001
1002// CHECK: vpaddw  %xmm1, %xmm2, %xmm3
1003// CHECK: encoding: [0xc5,0xe9,0xfd,0xd9]
1004          vpaddw  %xmm1, %xmm2, %xmm3
1005
1006// CHECK: vpaddw  (%eax), %xmm2, %xmm3
1007// CHECK: encoding: [0xc5,0xe9,0xfd,0x18]
1008          vpaddw  (%eax), %xmm2, %xmm3
1009
1010// CHECK: vpaddd  %xmm1, %xmm2, %xmm3
1011// CHECK: encoding: [0xc5,0xe9,0xfe,0xd9]
1012          vpaddd  %xmm1, %xmm2, %xmm3
1013
1014// CHECK: vpaddd  (%eax), %xmm2, %xmm3
1015// CHECK: encoding: [0xc5,0xe9,0xfe,0x18]
1016          vpaddd  (%eax), %xmm2, %xmm3
1017
1018// CHECK: vpaddq  %xmm1, %xmm2, %xmm3
1019// CHECK: encoding: [0xc5,0xe9,0xd4,0xd9]
1020          vpaddq  %xmm1, %xmm2, %xmm3
1021
1022// CHECK: vpaddq  (%eax), %xmm2, %xmm3
1023// CHECK: encoding: [0xc5,0xe9,0xd4,0x18]
1024          vpaddq  (%eax), %xmm2, %xmm3
1025
1026// CHECK: vpaddsb  %xmm1, %xmm2, %xmm3
1027// CHECK: encoding: [0xc5,0xe9,0xec,0xd9]
1028          vpaddsb  %xmm1, %xmm2, %xmm3
1029
1030// CHECK: vpaddsb  (%eax), %xmm2, %xmm3
1031// CHECK: encoding: [0xc5,0xe9,0xec,0x18]
1032          vpaddsb  (%eax), %xmm2, %xmm3
1033
1034// CHECK: vpaddsw  %xmm1, %xmm2, %xmm3
1035// CHECK: encoding: [0xc5,0xe9,0xed,0xd9]
1036          vpaddsw  %xmm1, %xmm2, %xmm3
1037
1038// CHECK: vpaddsw  (%eax), %xmm2, %xmm3
1039// CHECK: encoding: [0xc5,0xe9,0xed,0x18]
1040          vpaddsw  (%eax), %xmm2, %xmm3
1041
1042// CHECK: vpaddusb  %xmm1, %xmm2, %xmm3
1043// CHECK: encoding: [0xc5,0xe9,0xdc,0xd9]
1044          vpaddusb  %xmm1, %xmm2, %xmm3
1045
1046// CHECK: vpaddusb  (%eax), %xmm2, %xmm3
1047// CHECK: encoding: [0xc5,0xe9,0xdc,0x18]
1048          vpaddusb  (%eax), %xmm2, %xmm3
1049
1050// CHECK: vpaddusw  %xmm1, %xmm2, %xmm3
1051// CHECK: encoding: [0xc5,0xe9,0xdd,0xd9]
1052          vpaddusw  %xmm1, %xmm2, %xmm3
1053
1054// CHECK: vpaddusw  (%eax), %xmm2, %xmm3
1055// CHECK: encoding: [0xc5,0xe9,0xdd,0x18]
1056          vpaddusw  (%eax), %xmm2, %xmm3
1057
1058// CHECK: vpmulhuw  %xmm1, %xmm2, %xmm3
1059// CHECK: encoding: [0xc5,0xe9,0xe4,0xd9]
1060          vpmulhuw  %xmm1, %xmm2, %xmm3
1061
1062// CHECK: vpmulhuw  (%eax), %xmm2, %xmm3
1063// CHECK: encoding: [0xc5,0xe9,0xe4,0x18]
1064          vpmulhuw  (%eax), %xmm2, %xmm3
1065
1066// CHECK: vpmulhw  %xmm1, %xmm2, %xmm3
1067// CHECK: encoding: [0xc5,0xe9,0xe5,0xd9]
1068          vpmulhw  %xmm1, %xmm2, %xmm3
1069
1070// CHECK: vpmulhw  (%eax), %xmm2, %xmm3
1071// CHECK: encoding: [0xc5,0xe9,0xe5,0x18]
1072          vpmulhw  (%eax), %xmm2, %xmm3
1073
1074// CHECK: vpmullw  %xmm1, %xmm2, %xmm3
1075// CHECK: encoding: [0xc5,0xe9,0xd5,0xd9]
1076          vpmullw  %xmm1, %xmm2, %xmm3
1077
1078// CHECK: vpmullw  (%eax), %xmm2, %xmm3
1079// CHECK: encoding: [0xc5,0xe9,0xd5,0x18]
1080          vpmullw  (%eax), %xmm2, %xmm3
1081
1082// CHECK: vpmuludq  %xmm1, %xmm2, %xmm3
1083// CHECK: encoding: [0xc5,0xe9,0xf4,0xd9]
1084          vpmuludq  %xmm1, %xmm2, %xmm3
1085
1086// CHECK: vpmuludq  (%eax), %xmm2, %xmm3
1087// CHECK: encoding: [0xc5,0xe9,0xf4,0x18]
1088          vpmuludq  (%eax), %xmm2, %xmm3
1089
1090// CHECK: vpavgb  %xmm1, %xmm2, %xmm3
1091// CHECK: encoding: [0xc5,0xe9,0xe0,0xd9]
1092          vpavgb  %xmm1, %xmm2, %xmm3
1093
1094// CHECK: vpavgb  (%eax), %xmm2, %xmm3
1095// CHECK: encoding: [0xc5,0xe9,0xe0,0x18]
1096          vpavgb  (%eax), %xmm2, %xmm3
1097
1098// CHECK: vpavgw  %xmm1, %xmm2, %xmm3
1099// CHECK: encoding: [0xc5,0xe9,0xe3,0xd9]
1100          vpavgw  %xmm1, %xmm2, %xmm3
1101
1102// CHECK: vpavgw  (%eax), %xmm2, %xmm3
1103// CHECK: encoding: [0xc5,0xe9,0xe3,0x18]
1104          vpavgw  (%eax), %xmm2, %xmm3
1105
1106// CHECK: vpminsw  %xmm1, %xmm2, %xmm3
1107// CHECK: encoding: [0xc5,0xe9,0xea,0xd9]
1108          vpminsw  %xmm1, %xmm2, %xmm3
1109
1110// CHECK: vpminsw  (%eax), %xmm2, %xmm3
1111// CHECK: encoding: [0xc5,0xe9,0xea,0x18]
1112          vpminsw  (%eax), %xmm2, %xmm3
1113
1114// CHECK: vpminub  %xmm1, %xmm2, %xmm3
1115// CHECK: encoding: [0xc5,0xe9,0xda,0xd9]
1116          vpminub  %xmm1, %xmm2, %xmm3
1117
1118// CHECK: vpminub  (%eax), %xmm2, %xmm3
1119// CHECK: encoding: [0xc5,0xe9,0xda,0x18]
1120          vpminub  (%eax), %xmm2, %xmm3
1121
1122// CHECK: vpmaxsw  %xmm1, %xmm2, %xmm3
1123// CHECK: encoding: [0xc5,0xe9,0xee,0xd9]
1124          vpmaxsw  %xmm1, %xmm2, %xmm3
1125
1126// CHECK: vpmaxsw  (%eax), %xmm2, %xmm3
1127// CHECK: encoding: [0xc5,0xe9,0xee,0x18]
1128          vpmaxsw  (%eax), %xmm2, %xmm3
1129
1130// CHECK: vpmaxub  %xmm1, %xmm2, %xmm3
1131// CHECK: encoding: [0xc5,0xe9,0xde,0xd9]
1132          vpmaxub  %xmm1, %xmm2, %xmm3
1133
1134// CHECK: vpmaxub  (%eax), %xmm2, %xmm3
1135// CHECK: encoding: [0xc5,0xe9,0xde,0x18]
1136          vpmaxub  (%eax), %xmm2, %xmm3
1137
1138// CHECK: vpsadbw  %xmm1, %xmm2, %xmm3
1139// CHECK: encoding: [0xc5,0xe9,0xf6,0xd9]
1140          vpsadbw  %xmm1, %xmm2, %xmm3
1141
1142// CHECK: vpsadbw  (%eax), %xmm2, %xmm3
1143// CHECK: encoding: [0xc5,0xe9,0xf6,0x18]
1144          vpsadbw  (%eax), %xmm2, %xmm3
1145
1146// CHECK: vpsllw  %xmm1, %xmm2, %xmm3
1147// CHECK: encoding: [0xc5,0xe9,0xf1,0xd9]
1148          vpsllw  %xmm1, %xmm2, %xmm3
1149
1150// CHECK: vpsllw  (%eax), %xmm2, %xmm3
1151// CHECK: encoding: [0xc5,0xe9,0xf1,0x18]
1152          vpsllw  (%eax), %xmm2, %xmm3
1153
1154// CHECK: vpslld  %xmm1, %xmm2, %xmm3
1155// CHECK: encoding: [0xc5,0xe9,0xf2,0xd9]
1156          vpslld  %xmm1, %xmm2, %xmm3
1157
1158// CHECK: vpslld  (%eax), %xmm2, %xmm3
1159// CHECK: encoding: [0xc5,0xe9,0xf2,0x18]
1160          vpslld  (%eax), %xmm2, %xmm3
1161
1162// CHECK: vpsllq  %xmm1, %xmm2, %xmm3
1163// CHECK: encoding: [0xc5,0xe9,0xf3,0xd9]
1164          vpsllq  %xmm1, %xmm2, %xmm3
1165
1166// CHECK: vpsllq  (%eax), %xmm2, %xmm3
1167// CHECK: encoding: [0xc5,0xe9,0xf3,0x18]
1168          vpsllq  (%eax), %xmm2, %xmm3
1169
1170// CHECK: vpsraw  %xmm1, %xmm2, %xmm3
1171// CHECK: encoding: [0xc5,0xe9,0xe1,0xd9]
1172          vpsraw  %xmm1, %xmm2, %xmm3
1173
1174// CHECK: vpsraw  (%eax), %xmm2, %xmm3
1175// CHECK: encoding: [0xc5,0xe9,0xe1,0x18]
1176          vpsraw  (%eax), %xmm2, %xmm3
1177
1178// CHECK: vpsrad  %xmm1, %xmm2, %xmm3
1179// CHECK: encoding: [0xc5,0xe9,0xe2,0xd9]
1180          vpsrad  %xmm1, %xmm2, %xmm3
1181
1182// CHECK: vpsrad  (%eax), %xmm2, %xmm3
1183// CHECK: encoding: [0xc5,0xe9,0xe2,0x18]
1184          vpsrad  (%eax), %xmm2, %xmm3
1185
1186// CHECK: vpsrlw  %xmm1, %xmm2, %xmm3
1187// CHECK: encoding: [0xc5,0xe9,0xd1,0xd9]
1188          vpsrlw  %xmm1, %xmm2, %xmm3
1189
1190// CHECK: vpsrlw  (%eax), %xmm2, %xmm3
1191// CHECK: encoding: [0xc5,0xe9,0xd1,0x18]
1192          vpsrlw  (%eax), %xmm2, %xmm3
1193
1194// CHECK: vpsrld  %xmm1, %xmm2, %xmm3
1195// CHECK: encoding: [0xc5,0xe9,0xd2,0xd9]
1196          vpsrld  %xmm1, %xmm2, %xmm3
1197
1198// CHECK: vpsrld  (%eax), %xmm2, %xmm3
1199// CHECK: encoding: [0xc5,0xe9,0xd2,0x18]
1200          vpsrld  (%eax), %xmm2, %xmm3
1201
1202// CHECK: vpsrlq  %xmm1, %xmm2, %xmm3
1203// CHECK: encoding: [0xc5,0xe9,0xd3,0xd9]
1204          vpsrlq  %xmm1, %xmm2, %xmm3
1205
1206// CHECK: vpsrlq  (%eax), %xmm2, %xmm3
1207// CHECK: encoding: [0xc5,0xe9,0xd3,0x18]
1208          vpsrlq  (%eax), %xmm2, %xmm3
1209
1210// CHECK: vpslld  $10, %xmm2, %xmm3
1211// CHECK: encoding: [0xc5,0xe1,0x72,0xf2,0x0a]
1212          vpslld  $10, %xmm2, %xmm3
1213
1214// CHECK: vpslldq  $10, %xmm2, %xmm3
1215// CHECK: encoding: [0xc5,0xe1,0x73,0xfa,0x0a]
1216          vpslldq  $10, %xmm2, %xmm3
1217
1218// CHECK: vpsllq  $10, %xmm2, %xmm3
1219// CHECK: encoding: [0xc5,0xe1,0x73,0xf2,0x0a]
1220          vpsllq  $10, %xmm2, %xmm3
1221
1222// CHECK: vpsllw  $10, %xmm2, %xmm3
1223// CHECK: encoding: [0xc5,0xe1,0x71,0xf2,0x0a]
1224          vpsllw  $10, %xmm2, %xmm3
1225
1226// CHECK: vpsrad  $10, %xmm2, %xmm3
1227// CHECK: encoding: [0xc5,0xe1,0x72,0xe2,0x0a]
1228          vpsrad  $10, %xmm2, %xmm3
1229
1230// CHECK: vpsraw  $10, %xmm2, %xmm3
1231// CHECK: encoding: [0xc5,0xe1,0x71,0xe2,0x0a]
1232          vpsraw  $10, %xmm2, %xmm3
1233
1234// CHECK: vpsrld  $10, %xmm2, %xmm3
1235// CHECK: encoding: [0xc5,0xe1,0x72,0xd2,0x0a]
1236          vpsrld  $10, %xmm2, %xmm3
1237
1238// CHECK: vpsrldq  $10, %xmm2, %xmm3
1239// CHECK: encoding: [0xc5,0xe1,0x73,0xda,0x0a]
1240          vpsrldq  $10, %xmm2, %xmm3
1241
1242// CHECK: vpsrlq  $10, %xmm2, %xmm3
1243// CHECK: encoding: [0xc5,0xe1,0x73,0xd2,0x0a]
1244          vpsrlq  $10, %xmm2, %xmm3
1245
1246// CHECK: vpsrlw  $10, %xmm2, %xmm3
1247// CHECK: encoding: [0xc5,0xe1,0x71,0xd2,0x0a]
1248          vpsrlw  $10, %xmm2, %xmm3
1249
1250// CHECK: vpslld  $10, %xmm2, %xmm3
1251// CHECK: encoding: [0xc5,0xe1,0x72,0xf2,0x0a]
1252          vpslld  $10, %xmm2, %xmm3
1253
1254// CHECK: vpand  %xmm1, %xmm2, %xmm3
1255// CHECK: encoding: [0xc5,0xe9,0xdb,0xd9]
1256          vpand  %xmm1, %xmm2, %xmm3
1257
1258// CHECK: vpand  (%eax), %xmm2, %xmm3
1259// CHECK: encoding: [0xc5,0xe9,0xdb,0x18]
1260          vpand  (%eax), %xmm2, %xmm3
1261
1262// CHECK: vpor  %xmm1, %xmm2, %xmm3
1263// CHECK: encoding: [0xc5,0xe9,0xeb,0xd9]
1264          vpor  %xmm1, %xmm2, %xmm3
1265
1266// CHECK: vpor  (%eax), %xmm2, %xmm3
1267// CHECK: encoding: [0xc5,0xe9,0xeb,0x18]
1268          vpor  (%eax), %xmm2, %xmm3
1269
1270// CHECK: vpxor  %xmm1, %xmm2, %xmm3
1271// CHECK: encoding: [0xc5,0xe9,0xef,0xd9]
1272          vpxor  %xmm1, %xmm2, %xmm3
1273
1274// CHECK: vpxor  (%eax), %xmm2, %xmm3
1275// CHECK: encoding: [0xc5,0xe9,0xef,0x18]
1276          vpxor  (%eax), %xmm2, %xmm3
1277
1278// CHECK: vpandn  %xmm1, %xmm2, %xmm3
1279// CHECK: encoding: [0xc5,0xe9,0xdf,0xd9]
1280          vpandn  %xmm1, %xmm2, %xmm3
1281
1282// CHECK: vpandn  (%eax), %xmm2, %xmm3
1283// CHECK: encoding: [0xc5,0xe9,0xdf,0x18]
1284          vpandn  (%eax), %xmm2, %xmm3
1285
1286// CHECK: vpcmpeqb  %xmm1, %xmm2, %xmm3
1287// CHECK: encoding: [0xc5,0xe9,0x74,0xd9]
1288          vpcmpeqb  %xmm1, %xmm2, %xmm3
1289
1290// CHECK: vpcmpeqb  (%eax), %xmm2, %xmm3
1291// CHECK: encoding: [0xc5,0xe9,0x74,0x18]
1292          vpcmpeqb  (%eax), %xmm2, %xmm3
1293
1294// CHECK: vpcmpeqw  %xmm1, %xmm2, %xmm3
1295// CHECK: encoding: [0xc5,0xe9,0x75,0xd9]
1296          vpcmpeqw  %xmm1, %xmm2, %xmm3
1297
1298// CHECK: vpcmpeqw  (%eax), %xmm2, %xmm3
1299// CHECK: encoding: [0xc5,0xe9,0x75,0x18]
1300          vpcmpeqw  (%eax), %xmm2, %xmm3
1301
1302// CHECK: vpcmpeqd  %xmm1, %xmm2, %xmm3
1303// CHECK: encoding: [0xc5,0xe9,0x76,0xd9]
1304          vpcmpeqd  %xmm1, %xmm2, %xmm3
1305
1306// CHECK: vpcmpeqd  (%eax), %xmm2, %xmm3
1307// CHECK: encoding: [0xc5,0xe9,0x76,0x18]
1308          vpcmpeqd  (%eax), %xmm2, %xmm3
1309
1310// CHECK: vpcmpgtb  %xmm1, %xmm2, %xmm3
1311// CHECK: encoding: [0xc5,0xe9,0x64,0xd9]
1312          vpcmpgtb  %xmm1, %xmm2, %xmm3
1313
1314// CHECK: vpcmpgtb  (%eax), %xmm2, %xmm3
1315// CHECK: encoding: [0xc5,0xe9,0x64,0x18]
1316          vpcmpgtb  (%eax), %xmm2, %xmm3
1317
1318// CHECK: vpcmpgtw  %xmm1, %xmm2, %xmm3
1319// CHECK: encoding: [0xc5,0xe9,0x65,0xd9]
1320          vpcmpgtw  %xmm1, %xmm2, %xmm3
1321
1322// CHECK: vpcmpgtw  (%eax), %xmm2, %xmm3
1323// CHECK: encoding: [0xc5,0xe9,0x65,0x18]
1324          vpcmpgtw  (%eax), %xmm2, %xmm3
1325
1326// CHECK: vpcmpgtd  %xmm1, %xmm2, %xmm3
1327// CHECK: encoding: [0xc5,0xe9,0x66,0xd9]
1328          vpcmpgtd  %xmm1, %xmm2, %xmm3
1329
1330// CHECK: vpcmpgtd  (%eax), %xmm2, %xmm3
1331// CHECK: encoding: [0xc5,0xe9,0x66,0x18]
1332          vpcmpgtd  (%eax), %xmm2, %xmm3
1333
1334// CHECK: vpacksswb  %xmm1, %xmm2, %xmm3
1335// CHECK: encoding: [0xc5,0xe9,0x63,0xd9]
1336          vpacksswb  %xmm1, %xmm2, %xmm3
1337
1338// CHECK: vpacksswb  (%eax), %xmm2, %xmm3
1339// CHECK: encoding: [0xc5,0xe9,0x63,0x18]
1340          vpacksswb  (%eax), %xmm2, %xmm3
1341
1342// CHECK: vpackssdw  %xmm1, %xmm2, %xmm3
1343// CHECK: encoding: [0xc5,0xe9,0x6b,0xd9]
1344          vpackssdw  %xmm1, %xmm2, %xmm3
1345
1346// CHECK: vpackssdw  (%eax), %xmm2, %xmm3
1347// CHECK: encoding: [0xc5,0xe9,0x6b,0x18]
1348          vpackssdw  (%eax), %xmm2, %xmm3
1349
1350// CHECK: vpackuswb  %xmm1, %xmm2, %xmm3
1351// CHECK: encoding: [0xc5,0xe9,0x67,0xd9]
1352          vpackuswb  %xmm1, %xmm2, %xmm3
1353
1354// CHECK: vpackuswb  (%eax), %xmm2, %xmm3
1355// CHECK: encoding: [0xc5,0xe9,0x67,0x18]
1356          vpackuswb  (%eax), %xmm2, %xmm3
1357
1358// CHECK: vpshufd  $4, %xmm2, %xmm3
1359// CHECK: encoding: [0xc5,0xf9,0x70,0xda,0x04]
1360          vpshufd  $4, %xmm2, %xmm3
1361
1362// CHECK: vpshufd  $4, (%eax), %xmm3
1363// CHECK: encoding: [0xc5,0xf9,0x70,0x18,0x04]
1364          vpshufd  $4, (%eax), %xmm3
1365
1366// CHECK: vpshufhw  $4, %xmm2, %xmm3
1367// CHECK: encoding: [0xc5,0xfa,0x70,0xda,0x04]
1368          vpshufhw  $4, %xmm2, %xmm3
1369
1370// CHECK: vpshufhw  $4, (%eax), %xmm3
1371// CHECK: encoding: [0xc5,0xfa,0x70,0x18,0x04]
1372          vpshufhw  $4, (%eax), %xmm3
1373
1374// CHECK: vpshuflw  $4, %xmm2, %xmm3
1375// CHECK: encoding: [0xc5,0xfb,0x70,0xda,0x04]
1376          vpshuflw  $4, %xmm2, %xmm3
1377
1378// CHECK: vpshuflw  $4, (%eax), %xmm3
1379// CHECK: encoding: [0xc5,0xfb,0x70,0x18,0x04]
1380          vpshuflw  $4, (%eax), %xmm3
1381
1382// CHECK: vpunpcklbw  %xmm1, %xmm2, %xmm3
1383// CHECK: encoding: [0xc5,0xe9,0x60,0xd9]
1384          vpunpcklbw  %xmm1, %xmm2, %xmm3
1385
1386// CHECK: vpunpcklbw  (%eax), %xmm2, %xmm3
1387// CHECK: encoding: [0xc5,0xe9,0x60,0x18]
1388          vpunpcklbw  (%eax), %xmm2, %xmm3
1389
1390// CHECK: vpunpcklwd  %xmm1, %xmm2, %xmm3
1391// CHECK: encoding: [0xc5,0xe9,0x61,0xd9]
1392          vpunpcklwd  %xmm1, %xmm2, %xmm3
1393
1394// CHECK: vpunpcklwd  (%eax), %xmm2, %xmm3
1395// CHECK: encoding: [0xc5,0xe9,0x61,0x18]
1396          vpunpcklwd  (%eax), %xmm2, %xmm3
1397
1398// CHECK: vpunpckldq  %xmm1, %xmm2, %xmm3
1399// CHECK: encoding: [0xc5,0xe9,0x62,0xd9]
1400          vpunpckldq  %xmm1, %xmm2, %xmm3
1401
1402// CHECK: vpunpckldq  (%eax), %xmm2, %xmm3
1403// CHECK: encoding: [0xc5,0xe9,0x62,0x18]
1404          vpunpckldq  (%eax), %xmm2, %xmm3
1405
1406// CHECK: vpunpcklqdq  %xmm1, %xmm2, %xmm3
1407// CHECK: encoding: [0xc5,0xe9,0x6c,0xd9]
1408          vpunpcklqdq  %xmm1, %xmm2, %xmm3
1409
1410// CHECK: vpunpcklqdq  (%eax), %xmm2, %xmm3
1411// CHECK: encoding: [0xc5,0xe9,0x6c,0x18]
1412          vpunpcklqdq  (%eax), %xmm2, %xmm3
1413
1414// CHECK: vpunpckhbw  %xmm1, %xmm2, %xmm3
1415// CHECK: encoding: [0xc5,0xe9,0x68,0xd9]
1416          vpunpckhbw  %xmm1, %xmm2, %xmm3
1417
1418// CHECK: vpunpckhbw  (%eax), %xmm2, %xmm3
1419// CHECK: encoding: [0xc5,0xe9,0x68,0x18]
1420          vpunpckhbw  (%eax), %xmm2, %xmm3
1421
1422// CHECK: vpunpckhwd  %xmm1, %xmm2, %xmm3
1423// CHECK: encoding: [0xc5,0xe9,0x69,0xd9]
1424          vpunpckhwd  %xmm1, %xmm2, %xmm3
1425
1426// CHECK: vpunpckhwd  (%eax), %xmm2, %xmm3
1427// CHECK: encoding: [0xc5,0xe9,0x69,0x18]
1428          vpunpckhwd  (%eax), %xmm2, %xmm3
1429
1430// CHECK: vpunpckhdq  %xmm1, %xmm2, %xmm3
1431// CHECK: encoding: [0xc5,0xe9,0x6a,0xd9]
1432          vpunpckhdq  %xmm1, %xmm2, %xmm3
1433
1434// CHECK: vpunpckhdq  (%eax), %xmm2, %xmm3
1435// CHECK: encoding: [0xc5,0xe9,0x6a,0x18]
1436          vpunpckhdq  (%eax), %xmm2, %xmm3
1437
1438// CHECK: vpunpckhqdq  %xmm1, %xmm2, %xmm3
1439// CHECK: encoding: [0xc5,0xe9,0x6d,0xd9]
1440          vpunpckhqdq  %xmm1, %xmm2, %xmm3
1441
1442// CHECK: vpunpckhqdq  (%eax), %xmm2, %xmm3
1443// CHECK: encoding: [0xc5,0xe9,0x6d,0x18]
1444          vpunpckhqdq  (%eax), %xmm2, %xmm3
1445
1446// CHECK: vpinsrw  $7, %eax, %xmm2, %xmm3
1447// CHECK: encoding: [0xc5,0xe9,0xc4,0xd8,0x07]
1448          vpinsrw  $7, %eax, %xmm2, %xmm3
1449
1450// CHECK: vpinsrw  $7, (%eax), %xmm2, %xmm3
1451// CHECK: encoding: [0xc5,0xe9,0xc4,0x18,0x07]
1452          vpinsrw  $7, (%eax), %xmm2, %xmm3
1453
1454// CHECK: vpextrw  $7, %xmm2, %eax
1455// CHECK: encoding: [0xc5,0xf9,0xc5,0xc2,0x07]
1456          vpextrw  $7, %xmm2, %eax
1457
1458// CHECK: vpmovmskb  %xmm1, %eax
1459// CHECK: encoding: [0xc5,0xf9,0xd7,0xc1]
1460          vpmovmskb  %xmm1, %eax
1461
1462// CHECK: vmaskmovdqu  %xmm1, %xmm2
1463// CHECK: encoding: [0xc5,0xf9,0xf7,0xd1]
1464          vmaskmovdqu  %xmm1, %xmm2
1465
1466// CHECK: vmovd  %xmm1, %eax
1467// CHECK: encoding: [0xc5,0xf9,0x7e,0xc8]
1468          vmovd  %xmm1, %eax
1469
1470// CHECK: vmovd  %xmm1, (%eax)
1471// CHECK: encoding: [0xc5,0xf9,0x7e,0x08]
1472          vmovd  %xmm1, (%eax)
1473
1474// CHECK: vmovd  %eax, %xmm1
1475// CHECK: encoding: [0xc5,0xf9,0x6e,0xc8]
1476          vmovd  %eax, %xmm1
1477
1478// CHECK: vmovd  (%eax), %xmm1
1479// CHECK: encoding: [0xc5,0xf9,0x6e,0x08]
1480          vmovd  (%eax), %xmm1
1481
1482// CHECK: vmovq  %xmm1, (%eax)
1483// CHECK: encoding: [0xc5,0xf9,0xd6,0x08]
1484          vmovq  %xmm1, (%eax)
1485
1486// CHECK: vmovq  %xmm1, %xmm2
1487// CHECK: encoding: [0xc5,0xfa,0x7e,0xd1]
1488          vmovq  %xmm1, %xmm2
1489
1490// CHECK: vmovq  (%eax), %xmm1
1491// CHECK: encoding: [0xc5,0xfa,0x7e,0x08]
1492          vmovq  (%eax), %xmm1
1493
1494// CHECK: vcvtpd2dq  %xmm1, %xmm2
1495// CHECK: encoding: [0xc5,0xfb,0xe6,0xd1]
1496          vcvtpd2dq  %xmm1, %xmm2
1497
1498// CHECK: vcvtdq2pd  %xmm1, %xmm2
1499// CHECK: encoding: [0xc5,0xfa,0xe6,0xd1]
1500          vcvtdq2pd  %xmm1, %xmm2
1501
1502// CHECK: vcvtdq2pd  (%eax), %xmm2
1503// CHECK: encoding: [0xc5,0xfa,0xe6,0x10]
1504          vcvtdq2pd  (%eax), %xmm2
1505
1506// CHECK: vmovshdup  %xmm1, %xmm2
1507// CHECK: encoding: [0xc5,0xfa,0x16,0xd1]
1508          vmovshdup  %xmm1, %xmm2
1509
1510// CHECK: vmovshdup  (%eax), %xmm2
1511// CHECK: encoding: [0xc5,0xfa,0x16,0x10]
1512          vmovshdup  (%eax), %xmm2
1513
1514// CHECK: vmovsldup  %xmm1, %xmm2
1515// CHECK: encoding: [0xc5,0xfa,0x12,0xd1]
1516          vmovsldup  %xmm1, %xmm2
1517
1518// CHECK: vmovsldup  (%eax), %xmm2
1519// CHECK: encoding: [0xc5,0xfa,0x12,0x10]
1520          vmovsldup  (%eax), %xmm2
1521
1522// CHECK: vmovddup  %xmm1, %xmm2
1523// CHECK: encoding: [0xc5,0xfb,0x12,0xd1]
1524          vmovddup  %xmm1, %xmm2
1525
1526// CHECK: vmovddup  (%eax), %xmm2
1527// CHECK: encoding: [0xc5,0xfb,0x12,0x10]
1528          vmovddup  (%eax), %xmm2
1529
1530// CHECK: vaddsubps  %xmm1, %xmm2, %xmm3
1531// CHECK: encoding: [0xc5,0xeb,0xd0,0xd9]
1532          vaddsubps  %xmm1, %xmm2, %xmm3
1533
1534// CHECK: vaddsubps  (%eax), %xmm1, %xmm2
1535// CHECK: encoding: [0xc5,0xf3,0xd0,0x10]
1536          vaddsubps  (%eax), %xmm1, %xmm2
1537
1538// CHECK: vaddsubpd  %xmm1, %xmm2, %xmm3
1539// CHECK: encoding: [0xc5,0xe9,0xd0,0xd9]
1540          vaddsubpd  %xmm1, %xmm2, %xmm3
1541
1542// CHECK: vaddsubpd  (%eax), %xmm1, %xmm2
1543// CHECK: encoding: [0xc5,0xf1,0xd0,0x10]
1544          vaddsubpd  (%eax), %xmm1, %xmm2
1545
1546// CHECK: vhaddps  %xmm1, %xmm2, %xmm3
1547// CHECK: encoding: [0xc5,0xeb,0x7c,0xd9]
1548          vhaddps  %xmm1, %xmm2, %xmm3
1549
1550// CHECK: vhaddps  (%eax), %xmm2, %xmm3
1551// CHECK: encoding: [0xc5,0xeb,0x7c,0x18]
1552          vhaddps  (%eax), %xmm2, %xmm3
1553
1554// CHECK: vhaddpd  %xmm1, %xmm2, %xmm3
1555// CHECK: encoding: [0xc5,0xe9,0x7c,0xd9]
1556          vhaddpd  %xmm1, %xmm2, %xmm3
1557
1558// CHECK: vhaddpd  (%eax), %xmm2, %xmm3
1559// CHECK: encoding: [0xc5,0xe9,0x7c,0x18]
1560          vhaddpd  (%eax), %xmm2, %xmm3
1561
1562// CHECK: vhsubps  %xmm1, %xmm2, %xmm3
1563// CHECK: encoding: [0xc5,0xeb,0x7d,0xd9]
1564          vhsubps  %xmm1, %xmm2, %xmm3
1565
1566// CHECK: vhsubps  (%eax), %xmm2, %xmm3
1567// CHECK: encoding: [0xc5,0xeb,0x7d,0x18]
1568          vhsubps  (%eax), %xmm2, %xmm3
1569
1570// CHECK: vhsubpd  %xmm1, %xmm2, %xmm3
1571// CHECK: encoding: [0xc5,0xe9,0x7d,0xd9]
1572          vhsubpd  %xmm1, %xmm2, %xmm3
1573
1574// CHECK: vhsubpd  (%eax), %xmm2, %xmm3
1575// CHECK: encoding: [0xc5,0xe9,0x7d,0x18]
1576          vhsubpd  (%eax), %xmm2, %xmm3
1577
1578// CHECK: vpabsb  %xmm1, %xmm2
1579// CHECK: encoding: [0xc4,0xe2,0x79,0x1c,0xd1]
1580          vpabsb  %xmm1, %xmm2
1581
1582// CHECK: vpabsb  (%eax), %xmm2
1583// CHECK: encoding: [0xc4,0xe2,0x79,0x1c,0x10]
1584          vpabsb  (%eax), %xmm2
1585
1586// CHECK: vpabsw  %xmm1, %xmm2
1587// CHECK: encoding: [0xc4,0xe2,0x79,0x1d,0xd1]
1588          vpabsw  %xmm1, %xmm2
1589
1590// CHECK: vpabsw  (%eax), %xmm2
1591// CHECK: encoding: [0xc4,0xe2,0x79,0x1d,0x10]
1592          vpabsw  (%eax), %xmm2
1593
1594// CHECK: vpabsd  %xmm1, %xmm2
1595// CHECK: encoding: [0xc4,0xe2,0x79,0x1e,0xd1]
1596          vpabsd  %xmm1, %xmm2
1597
1598// CHECK: vpabsd  (%eax), %xmm2
1599// CHECK: encoding: [0xc4,0xe2,0x79,0x1e,0x10]
1600          vpabsd  (%eax), %xmm2
1601
1602// CHECK: vphaddw  %xmm1, %xmm2, %xmm3
1603// CHECK: encoding: [0xc4,0xe2,0x69,0x01,0xd9]
1604          vphaddw  %xmm1, %xmm2, %xmm3
1605
1606// CHECK: vphaddw  (%eax), %xmm2, %xmm3
1607// CHECK: encoding: [0xc4,0xe2,0x69,0x01,0x18]
1608          vphaddw  (%eax), %xmm2, %xmm3
1609
1610// CHECK: vphaddd  %xmm1, %xmm2, %xmm3
1611// CHECK: encoding: [0xc4,0xe2,0x69,0x02,0xd9]
1612          vphaddd  %xmm1, %xmm2, %xmm3
1613
1614// CHECK: vphaddd  (%eax), %xmm2, %xmm3
1615// CHECK: encoding: [0xc4,0xe2,0x69,0x02,0x18]
1616          vphaddd  (%eax), %xmm2, %xmm3
1617
1618// CHECK: vphaddsw  %xmm1, %xmm2, %xmm3
1619// CHECK: encoding: [0xc4,0xe2,0x69,0x03,0xd9]
1620          vphaddsw  %xmm1, %xmm2, %xmm3
1621
1622// CHECK: vphaddsw  (%eax), %xmm2, %xmm3
1623// CHECK: encoding: [0xc4,0xe2,0x69,0x03,0x18]
1624          vphaddsw  (%eax), %xmm2, %xmm3
1625
1626// CHECK: vphsubw  %xmm1, %xmm2, %xmm3
1627// CHECK: encoding: [0xc4,0xe2,0x69,0x05,0xd9]
1628          vphsubw  %xmm1, %xmm2, %xmm3
1629
1630// CHECK: vphsubw  (%eax), %xmm2, %xmm3
1631// CHECK: encoding: [0xc4,0xe2,0x69,0x05,0x18]
1632          vphsubw  (%eax), %xmm2, %xmm3
1633
1634// CHECK: vphsubd  %xmm1, %xmm2, %xmm3
1635// CHECK: encoding: [0xc4,0xe2,0x69,0x06,0xd9]
1636          vphsubd  %xmm1, %xmm2, %xmm3
1637
1638// CHECK: vphsubd  (%eax), %xmm2, %xmm3
1639// CHECK: encoding: [0xc4,0xe2,0x69,0x06,0x18]
1640          vphsubd  (%eax), %xmm2, %xmm3
1641
1642// CHECK: vphsubsw  %xmm1, %xmm2, %xmm3
1643// CHECK: encoding: [0xc4,0xe2,0x69,0x07,0xd9]
1644          vphsubsw  %xmm1, %xmm2, %xmm3
1645
1646// CHECK: vphsubsw  (%eax), %xmm2, %xmm3
1647// CHECK: encoding: [0xc4,0xe2,0x69,0x07,0x18]
1648          vphsubsw  (%eax), %xmm2, %xmm3
1649
1650// CHECK: vpmaddubsw  %xmm1, %xmm2, %xmm3
1651// CHECK: encoding: [0xc4,0xe2,0x69,0x04,0xd9]
1652          vpmaddubsw  %xmm1, %xmm2, %xmm3
1653
1654// CHECK: vpmaddubsw  (%eax), %xmm2, %xmm3
1655// CHECK: encoding: [0xc4,0xe2,0x69,0x04,0x18]
1656          vpmaddubsw  (%eax), %xmm2, %xmm3
1657
1658// CHECK: vpshufb  %xmm1, %xmm2, %xmm3
1659// CHECK: encoding: [0xc4,0xe2,0x69,0x00,0xd9]
1660          vpshufb  %xmm1, %xmm2, %xmm3
1661
1662// CHECK: vpshufb  (%eax), %xmm2, %xmm3
1663// CHECK: encoding: [0xc4,0xe2,0x69,0x00,0x18]
1664          vpshufb  (%eax), %xmm2, %xmm3
1665
1666// CHECK: vpsignb  %xmm1, %xmm2, %xmm3
1667// CHECK: encoding: [0xc4,0xe2,0x69,0x08,0xd9]
1668          vpsignb  %xmm1, %xmm2, %xmm3
1669
1670// CHECK: vpsignb  (%eax), %xmm2, %xmm3
1671// CHECK: encoding: [0xc4,0xe2,0x69,0x08,0x18]
1672          vpsignb  (%eax), %xmm2, %xmm3
1673
1674// CHECK: vpsignw  %xmm1, %xmm2, %xmm3
1675// CHECK: encoding: [0xc4,0xe2,0x69,0x09,0xd9]
1676          vpsignw  %xmm1, %xmm2, %xmm3
1677
1678// CHECK: vpsignw  (%eax), %xmm2, %xmm3
1679// CHECK: encoding: [0xc4,0xe2,0x69,0x09,0x18]
1680          vpsignw  (%eax), %xmm2, %xmm3
1681
1682// CHECK: vpsignd  %xmm1, %xmm2, %xmm3
1683// CHECK: encoding: [0xc4,0xe2,0x69,0x0a,0xd9]
1684          vpsignd  %xmm1, %xmm2, %xmm3
1685
1686// CHECK: vpsignd  (%eax), %xmm2, %xmm3
1687// CHECK: encoding: [0xc4,0xe2,0x69,0x0a,0x18]
1688          vpsignd  (%eax), %xmm2, %xmm3
1689
1690// CHECK: vpmulhrsw  %xmm1, %xmm2, %xmm3
1691// CHECK: encoding: [0xc4,0xe2,0x69,0x0b,0xd9]
1692          vpmulhrsw  %xmm1, %xmm2, %xmm3
1693
1694// CHECK: vpmulhrsw  (%eax), %xmm2, %xmm3
1695// CHECK: encoding: [0xc4,0xe2,0x69,0x0b,0x18]
1696          vpmulhrsw  (%eax), %xmm2, %xmm3
1697
1698// CHECK: vpalignr  $7, %xmm1, %xmm2, %xmm3
1699// CHECK: encoding: [0xc4,0xe3,0x69,0x0f,0xd9,0x07]
1700          vpalignr  $7, %xmm1, %xmm2, %xmm3
1701
1702// CHECK: vpalignr  $7, (%eax), %xmm2, %xmm3
1703// CHECK: encoding: [0xc4,0xe3,0x69,0x0f,0x18,0x07]
1704          vpalignr  $7, (%eax), %xmm2, %xmm3
1705
1706// CHECK: vroundsd  $7, %xmm1, %xmm2, %xmm3
1707// CHECK: encoding: [0xc4,0xe3,0x69,0x0b,0xd9,0x07]
1708          vroundsd  $7, %xmm1, %xmm2, %xmm3
1709
1710// CHECK: vroundsd  $7, (%eax), %xmm2, %xmm3
1711// CHECK: encoding: [0xc4,0xe3,0x69,0x0b,0x18,0x07]
1712          vroundsd  $7, (%eax), %xmm2, %xmm3
1713
1714// CHECK: vroundss  $7, %xmm1, %xmm2, %xmm3
1715// CHECK: encoding: [0xc4,0xe3,0x69,0x0a,0xd9,0x07]
1716          vroundss  $7, %xmm1, %xmm2, %xmm3
1717
1718// CHECK: vroundss  $7, (%eax), %xmm2, %xmm3
1719// CHECK: encoding: [0xc4,0xe3,0x69,0x0a,0x18,0x07]
1720          vroundss  $7, (%eax), %xmm2, %xmm3
1721
1722// CHECK: vroundpd  $7, %xmm2, %xmm3
1723// CHECK: encoding: [0xc4,0xe3,0x79,0x09,0xda,0x07]
1724          vroundpd  $7, %xmm2, %xmm3
1725
1726// CHECK: vroundpd  $7, (%eax), %xmm3
1727// CHECK: encoding: [0xc4,0xe3,0x79,0x09,0x18,0x07]
1728          vroundpd  $7, (%eax), %xmm3
1729
1730// CHECK: vroundps  $7, %xmm2, %xmm3
1731// CHECK: encoding: [0xc4,0xe3,0x79,0x08,0xda,0x07]
1732          vroundps  $7, %xmm2, %xmm3
1733
1734// CHECK: vroundps  $7, (%eax), %xmm3
1735// CHECK: encoding: [0xc4,0xe3,0x79,0x08,0x18,0x07]
1736          vroundps  $7, (%eax), %xmm3
1737
1738// CHECK: vphminposuw  %xmm2, %xmm3
1739// CHECK: encoding: [0xc4,0xe2,0x79,0x41,0xda]
1740          vphminposuw  %xmm2, %xmm3
1741
1742// CHECK: vphminposuw  (%eax), %xmm2
1743// CHECK: encoding: [0xc4,0xe2,0x79,0x41,0x10]
1744          vphminposuw  (%eax), %xmm2
1745
1746// CHECK: vpackusdw  %xmm2, %xmm3, %xmm1
1747// CHECK: encoding: [0xc4,0xe2,0x61,0x2b,0xca]
1748          vpackusdw  %xmm2, %xmm3, %xmm1
1749
1750// CHECK: vpackusdw  (%eax), %xmm2, %xmm3
1751// CHECK: encoding: [0xc4,0xe2,0x69,0x2b,0x18]
1752          vpackusdw  (%eax), %xmm2, %xmm3
1753
1754// CHECK: vpcmpeqq  %xmm2, %xmm3, %xmm1
1755// CHECK: encoding: [0xc4,0xe2,0x61,0x29,0xca]
1756          vpcmpeqq  %xmm2, %xmm3, %xmm1
1757
1758// CHECK: vpcmpeqq  (%eax), %xmm2, %xmm3
1759// CHECK: encoding: [0xc4,0xe2,0x69,0x29,0x18]
1760          vpcmpeqq  (%eax), %xmm2, %xmm3
1761
1762// CHECK: vpminsb  %xmm2, %xmm3, %xmm1
1763// CHECK: encoding: [0xc4,0xe2,0x61,0x38,0xca]
1764          vpminsb  %xmm2, %xmm3, %xmm1
1765
1766// CHECK: vpminsb  (%eax), %xmm2, %xmm3
1767// CHECK: encoding: [0xc4,0xe2,0x69,0x38,0x18]
1768          vpminsb  (%eax), %xmm2, %xmm3
1769
1770// CHECK: vpminsd  %xmm2, %xmm3, %xmm1
1771// CHECK: encoding: [0xc4,0xe2,0x61,0x39,0xca]
1772          vpminsd  %xmm2, %xmm3, %xmm1
1773
1774// CHECK: vpminsd  (%eax), %xmm2, %xmm3
1775// CHECK: encoding: [0xc4,0xe2,0x69,0x39,0x18]
1776          vpminsd  (%eax), %xmm2, %xmm3
1777
1778// CHECK: vpminud  %xmm2, %xmm3, %xmm1
1779// CHECK: encoding: [0xc4,0xe2,0x61,0x3b,0xca]
1780          vpminud  %xmm2, %xmm3, %xmm1
1781
1782// CHECK: vpminud  (%eax), %xmm2, %xmm3
1783// CHECK: encoding: [0xc4,0xe2,0x69,0x3b,0x18]
1784          vpminud  (%eax), %xmm2, %xmm3
1785
1786// CHECK: vpminuw  %xmm2, %xmm3, %xmm1
1787// CHECK: encoding: [0xc4,0xe2,0x61,0x3a,0xca]
1788          vpminuw  %xmm2, %xmm3, %xmm1
1789
1790// CHECK: vpminuw  (%eax), %xmm2, %xmm3
1791// CHECK: encoding: [0xc4,0xe2,0x69,0x3a,0x18]
1792          vpminuw  (%eax), %xmm2, %xmm3
1793
1794// CHECK: vpmaxsb  %xmm2, %xmm3, %xmm1
1795// CHECK: encoding: [0xc4,0xe2,0x61,0x3c,0xca]
1796          vpmaxsb  %xmm2, %xmm3, %xmm1
1797
1798// CHECK: vpmaxsb  (%eax), %xmm2, %xmm3
1799// CHECK: encoding: [0xc4,0xe2,0x69,0x3c,0x18]
1800          vpmaxsb  (%eax), %xmm2, %xmm3
1801
1802// CHECK: vpmaxsd  %xmm2, %xmm3, %xmm1
1803// CHECK: encoding: [0xc4,0xe2,0x61,0x3d,0xca]
1804          vpmaxsd  %xmm2, %xmm3, %xmm1
1805
1806// CHECK: vpmaxsd  (%eax), %xmm2, %xmm3
1807// CHECK: encoding: [0xc4,0xe2,0x69,0x3d,0x18]
1808          vpmaxsd  (%eax), %xmm2, %xmm3
1809
1810// CHECK: vpmaxud  %xmm2, %xmm3, %xmm1
1811// CHECK: encoding: [0xc4,0xe2,0x61,0x3f,0xca]
1812          vpmaxud  %xmm2, %xmm3, %xmm1
1813
1814// CHECK: vpmaxud  (%eax), %xmm2, %xmm3
1815// CHECK: encoding: [0xc4,0xe2,0x69,0x3f,0x18]
1816          vpmaxud  (%eax), %xmm2, %xmm3
1817
1818// CHECK: vpmaxuw  %xmm2, %xmm3, %xmm1
1819// CHECK: encoding: [0xc4,0xe2,0x61,0x3e,0xca]
1820          vpmaxuw  %xmm2, %xmm3, %xmm1
1821
1822// CHECK: vpmaxuw  (%eax), %xmm2, %xmm3
1823// CHECK: encoding: [0xc4,0xe2,0x69,0x3e,0x18]
1824          vpmaxuw  (%eax), %xmm2, %xmm3
1825
1826// CHECK: vpmuldq  %xmm2, %xmm3, %xmm1
1827// CHECK: encoding: [0xc4,0xe2,0x61,0x28,0xca]
1828          vpmuldq  %xmm2, %xmm3, %xmm1
1829
1830// CHECK: vpmuldq  (%eax), %xmm2, %xmm3
1831// CHECK: encoding: [0xc4,0xe2,0x69,0x28,0x18]
1832          vpmuldq  (%eax), %xmm2, %xmm3
1833
1834// CHECK: vpmulld  %xmm2, %xmm5, %xmm1
1835// CHECK: encoding: [0xc4,0xe2,0x51,0x40,0xca]
1836          vpmulld  %xmm2, %xmm5, %xmm1
1837
1838// CHECK: vpmulld  (%eax), %xmm5, %xmm3
1839// CHECK: encoding: [0xc4,0xe2,0x51,0x40,0x18]
1840          vpmulld  (%eax), %xmm5, %xmm3
1841
1842// CHECK: vblendps  $3, %xmm2, %xmm5, %xmm1
1843// CHECK: encoding: [0xc4,0xe3,0x51,0x0c,0xca,0x03]
1844          vblendps  $3, %xmm2, %xmm5, %xmm1
1845
1846// CHECK: vblendps  $3, (%eax), %xmm5, %xmm1
1847// CHECK: encoding: [0xc4,0xe3,0x51,0x0c,0x08,0x03]
1848          vblendps  $3, (%eax), %xmm5, %xmm1
1849
1850// CHECK: vblendpd  $3, %xmm2, %xmm5, %xmm1
1851// CHECK: encoding: [0xc4,0xe3,0x51,0x0d,0xca,0x03]
1852          vblendpd  $3, %xmm2, %xmm5, %xmm1
1853
1854// CHECK: vblendpd  $3, (%eax), %xmm5, %xmm1
1855// CHECK: encoding: [0xc4,0xe3,0x51,0x0d,0x08,0x03]
1856          vblendpd  $3, (%eax), %xmm5, %xmm1
1857
1858// CHECK: vpblendw  $3, %xmm2, %xmm5, %xmm1
1859// CHECK: encoding: [0xc4,0xe3,0x51,0x0e,0xca,0x03]
1860          vpblendw  $3, %xmm2, %xmm5, %xmm1
1861
1862// CHECK: vpblendw  $3, (%eax), %xmm5, %xmm1
1863// CHECK: encoding: [0xc4,0xe3,0x51,0x0e,0x08,0x03]
1864          vpblendw  $3, (%eax), %xmm5, %xmm1
1865
1866// CHECK: vmpsadbw  $3, %xmm2, %xmm5, %xmm1
1867// CHECK: encoding: [0xc4,0xe3,0x51,0x42,0xca,0x03]
1868          vmpsadbw  $3, %xmm2, %xmm5, %xmm1
1869
1870// CHECK: vmpsadbw  $3, (%eax), %xmm5, %xmm1
1871// CHECK: encoding: [0xc4,0xe3,0x51,0x42,0x08,0x03]
1872          vmpsadbw  $3, (%eax), %xmm5, %xmm1
1873
1874// CHECK: vdpps  $3, %xmm2, %xmm5, %xmm1
1875// CHECK: encoding: [0xc4,0xe3,0x51,0x40,0xca,0x03]
1876          vdpps  $3, %xmm2, %xmm5, %xmm1
1877
1878// CHECK: vdpps  $3, (%eax), %xmm5, %xmm1
1879// CHECK: encoding: [0xc4,0xe3,0x51,0x40,0x08,0x03]
1880          vdpps  $3, (%eax), %xmm5, %xmm1
1881
1882// CHECK: vdppd  $3, %xmm2, %xmm5, %xmm1
1883// CHECK: encoding: [0xc4,0xe3,0x51,0x41,0xca,0x03]
1884          vdppd  $3, %xmm2, %xmm5, %xmm1
1885
1886// CHECK: vdppd  $3, (%eax), %xmm5, %xmm1
1887// CHECK: encoding: [0xc4,0xe3,0x51,0x41,0x08,0x03]
1888          vdppd  $3, (%eax), %xmm5, %xmm1
1889
1890// CHECK: vblendvpd  %xmm2, %xmm5, %xmm1, %xmm3
1891// CHECK: encoding: [0xc4,0xe3,0x71,0x4b,0xdd,0x20]
1892          vblendvpd  %xmm2, %xmm5, %xmm1, %xmm3
1893
1894// CHECK: vblendvpd  %xmm2, (%eax), %xmm1, %xmm3
1895// CHECK: encoding: [0xc4,0xe3,0x71,0x4b,0x18,0x20]
1896          vblendvpd  %xmm2, (%eax), %xmm1, %xmm3
1897
1898// CHECK: vblendvps  %xmm2, %xmm5, %xmm1, %xmm3
1899// CHECK: encoding: [0xc4,0xe3,0x71,0x4a,0xdd,0x20]
1900          vblendvps  %xmm2, %xmm5, %xmm1, %xmm3
1901
1902// CHECK: vblendvps  %xmm2, (%eax), %xmm1, %xmm3
1903// CHECK: encoding: [0xc4,0xe3,0x71,0x4a,0x18,0x20]
1904          vblendvps  %xmm2, (%eax), %xmm1, %xmm3
1905
1906// CHECK: vpblendvb  %xmm2, %xmm5, %xmm1, %xmm3
1907// CHECK: encoding: [0xc4,0xe3,0x71,0x4c,0xdd,0x20]
1908          vpblendvb  %xmm2, %xmm5, %xmm1, %xmm3
1909
1910// CHECK: vpblendvb  %xmm2, (%eax), %xmm1, %xmm3
1911// CHECK: encoding: [0xc4,0xe3,0x71,0x4c,0x18,0x20]
1912          vpblendvb  %xmm2, (%eax), %xmm1, %xmm3
1913
1914// CHECK: vpmovsxbw  %xmm2, %xmm5
1915// CHECK: encoding: [0xc4,0xe2,0x79,0x20,0xea]
1916          vpmovsxbw  %xmm2, %xmm5
1917
1918// CHECK: vpmovsxbw  (%eax), %xmm2
1919// CHECK: encoding: [0xc4,0xe2,0x79,0x20,0x10]
1920          vpmovsxbw  (%eax), %xmm2
1921
1922// CHECK: vpmovsxwd  %xmm2, %xmm5
1923// CHECK: encoding: [0xc4,0xe2,0x79,0x23,0xea]
1924          vpmovsxwd  %xmm2, %xmm5
1925
1926// CHECK: vpmovsxwd  (%eax), %xmm2
1927// CHECK: encoding: [0xc4,0xe2,0x79,0x23,0x10]
1928          vpmovsxwd  (%eax), %xmm2
1929
1930// CHECK: vpmovsxdq  %xmm2, %xmm5
1931// CHECK: encoding: [0xc4,0xe2,0x79,0x25,0xea]
1932          vpmovsxdq  %xmm2, %xmm5
1933
1934// CHECK: vpmovsxdq  (%eax), %xmm2
1935// CHECK: encoding: [0xc4,0xe2,0x79,0x25,0x10]
1936          vpmovsxdq  (%eax), %xmm2
1937
1938// CHECK: vpmovzxbw  %xmm2, %xmm5
1939// CHECK: encoding: [0xc4,0xe2,0x79,0x30,0xea]
1940          vpmovzxbw  %xmm2, %xmm5
1941
1942// CHECK: vpmovzxbw  (%eax), %xmm2
1943// CHECK: encoding: [0xc4,0xe2,0x79,0x30,0x10]
1944          vpmovzxbw  (%eax), %xmm2
1945
1946// CHECK: vpmovzxwd  %xmm2, %xmm5
1947// CHECK: encoding: [0xc4,0xe2,0x79,0x33,0xea]
1948          vpmovzxwd  %xmm2, %xmm5
1949
1950// CHECK: vpmovzxwd  (%eax), %xmm2
1951// CHECK: encoding: [0xc4,0xe2,0x79,0x33,0x10]
1952          vpmovzxwd  (%eax), %xmm2
1953
1954// CHECK: vpmovzxdq  %xmm2, %xmm5
1955// CHECK: encoding: [0xc4,0xe2,0x79,0x35,0xea]
1956          vpmovzxdq  %xmm2, %xmm5
1957
1958// CHECK: vpmovzxdq  (%eax), %xmm2
1959// CHECK: encoding: [0xc4,0xe2,0x79,0x35,0x10]
1960          vpmovzxdq  (%eax), %xmm2
1961
1962// CHECK: vpmovsxbq  %xmm2, %xmm5
1963// CHECK: encoding: [0xc4,0xe2,0x79,0x22,0xea]
1964          vpmovsxbq  %xmm2, %xmm5
1965
1966// CHECK: vpmovsxbq  (%eax), %xmm2
1967// CHECK: encoding: [0xc4,0xe2,0x79,0x22,0x10]
1968          vpmovsxbq  (%eax), %xmm2
1969
1970// CHECK: vpmovzxbq  %xmm2, %xmm5
1971// CHECK: encoding: [0xc4,0xe2,0x79,0x32,0xea]
1972          vpmovzxbq  %xmm2, %xmm5
1973
1974// CHECK: vpmovzxbq  (%eax), %xmm2
1975// CHECK: encoding: [0xc4,0xe2,0x79,0x32,0x10]
1976          vpmovzxbq  (%eax), %xmm2
1977
1978// CHECK: vpmovsxbd  %xmm2, %xmm5
1979// CHECK: encoding: [0xc4,0xe2,0x79,0x21,0xea]
1980          vpmovsxbd  %xmm2, %xmm5
1981
1982// CHECK: vpmovsxbd  (%eax), %xmm2
1983// CHECK: encoding: [0xc4,0xe2,0x79,0x21,0x10]
1984          vpmovsxbd  (%eax), %xmm2
1985
1986// CHECK: vpmovsxwq  %xmm2, %xmm5
1987// CHECK: encoding: [0xc4,0xe2,0x79,0x24,0xea]
1988          vpmovsxwq  %xmm2, %xmm5
1989
1990// CHECK: vpmovsxwq  (%eax), %xmm2
1991// CHECK: encoding: [0xc4,0xe2,0x79,0x24,0x10]
1992          vpmovsxwq  (%eax), %xmm2
1993
1994// CHECK: vpmovzxbd  %xmm2, %xmm5
1995// CHECK: encoding: [0xc4,0xe2,0x79,0x31,0xea]
1996          vpmovzxbd  %xmm2, %xmm5
1997
1998// CHECK: vpmovzxbd  (%eax), %xmm2
1999// CHECK: encoding: [0xc4,0xe2,0x79,0x31,0x10]
2000          vpmovzxbd  (%eax), %xmm2
2001
2002// CHECK: vpmovzxwq  %xmm2, %xmm5
2003// CHECK: encoding: [0xc4,0xe2,0x79,0x34,0xea]
2004          vpmovzxwq  %xmm2, %xmm5
2005
2006// CHECK: vpmovzxwq  (%eax), %xmm2
2007// CHECK: encoding: [0xc4,0xe2,0x79,0x34,0x10]
2008          vpmovzxwq  (%eax), %xmm2
2009
2010// CHECK: vpextrw  $7, %xmm2, %eax
2011// CHECK: encoding: [0xc5,0xf9,0xc5,0xc2,0x07]
2012          vpextrw  $7, %xmm2, %eax
2013
2014// CHECK: vpextrw  $7, %xmm2, (%eax)
2015// CHECK: encoding: [0xc4,0xe3,0x79,0x15,0x10,0x07]
2016          vpextrw  $7, %xmm2, (%eax)
2017
2018// CHECK: vpextrd  $7, %xmm2, %eax
2019// CHECK: encoding: [0xc4,0xe3,0x79,0x16,0xd0,0x07]
2020          vpextrd  $7, %xmm2, %eax
2021
2022// CHECK: vpextrd  $7, %xmm2, (%eax)
2023// CHECK: encoding: [0xc4,0xe3,0x79,0x16,0x10,0x07]
2024          vpextrd  $7, %xmm2, (%eax)
2025
2026// CHECK: vpextrb  $7, %xmm2, %eax
2027// CHECK: encoding: [0xc4,0xe3,0x79,0x14,0xd0,0x07]
2028          vpextrb  $7, %xmm2, %eax
2029
2030// CHECK: vpextrb  $7, %xmm2, (%eax)
2031// CHECK: encoding: [0xc4,0xe3,0x79,0x14,0x10,0x07]
2032          vpextrb  $7, %xmm2, (%eax)
2033
2034// CHECK: vextractps  $7, %xmm2, (%eax)
2035// CHECK: encoding: [0xc4,0xe3,0x79,0x17,0x10,0x07]
2036          vextractps  $7, %xmm2, (%eax)
2037
2038// CHECK: vextractps  $7, %xmm2, %eax
2039// CHECK: encoding: [0xc4,0xe3,0x79,0x17,0xd0,0x07]
2040          vextractps  $7, %xmm2, %eax
2041
2042// CHECK: vpinsrw  $7, %eax, %xmm2, %xmm5
2043// CHECK: encoding: [0xc5,0xe9,0xc4,0xe8,0x07]
2044          vpinsrw  $7, %eax, %xmm2, %xmm5
2045
2046// CHECK: vpinsrw  $7, (%eax), %xmm2, %xmm5
2047// CHECK: encoding: [0xc5,0xe9,0xc4,0x28,0x07]
2048          vpinsrw  $7, (%eax), %xmm2, %xmm5
2049
2050// CHECK: vpinsrb  $7, %eax, %xmm2, %xmm5
2051// CHECK: encoding: [0xc4,0xe3,0x69,0x20,0xe8,0x07]
2052          vpinsrb  $7, %eax, %xmm2, %xmm5
2053
2054// CHECK: vpinsrb  $7, (%eax), %xmm2, %xmm5
2055// CHECK: encoding: [0xc4,0xe3,0x69,0x20,0x28,0x07]
2056          vpinsrb  $7, (%eax), %xmm2, %xmm5
2057
2058// CHECK: vpinsrd  $7, %eax, %xmm2, %xmm5
2059// CHECK: encoding: [0xc4,0xe3,0x69,0x22,0xe8,0x07]
2060          vpinsrd  $7, %eax, %xmm2, %xmm5
2061
2062// CHECK: vpinsrd  $7, (%eax), %xmm2, %xmm5
2063// CHECK: encoding: [0xc4,0xe3,0x69,0x22,0x28,0x07]
2064          vpinsrd  $7, (%eax), %xmm2, %xmm5
2065
2066// CHECK: vinsertps  $7, %xmm2, %xmm5, %xmm1
2067// CHECK: encoding: [0xc4,0xe3,0x51,0x21,0xca,0x07]
2068          vinsertps  $7, %xmm2, %xmm5, %xmm1
2069
2070// CHECK: vinsertps  $7, (%eax), %xmm5, %xmm1
2071// CHECK: encoding: [0xc4,0xe3,0x51,0x21,0x08,0x07]
2072          vinsertps  $7, (%eax), %xmm5, %xmm1
2073
2074// CHECK: vptest  %xmm2, %xmm5
2075// CHECK: encoding: [0xc4,0xe2,0x79,0x17,0xea]
2076          vptest  %xmm2, %xmm5
2077
2078// CHECK: vptest  (%eax), %xmm2
2079// CHECK: encoding: [0xc4,0xe2,0x79,0x17,0x10]
2080          vptest  (%eax), %xmm2
2081
2082// CHECK: vmovntdqa  (%eax), %xmm2
2083// CHECK: encoding: [0xc4,0xe2,0x79,0x2a,0x10]
2084          vmovntdqa  (%eax), %xmm2
2085
2086// CHECK: vpcmpgtq  %xmm2, %xmm5, %xmm1
2087// CHECK: encoding: [0xc4,0xe2,0x51,0x37,0xca]
2088          vpcmpgtq  %xmm2, %xmm5, %xmm1
2089
2090// CHECK: vpcmpgtq  (%eax), %xmm5, %xmm3
2091// CHECK: encoding: [0xc4,0xe2,0x51,0x37,0x18]
2092          vpcmpgtq  (%eax), %xmm5, %xmm3
2093
2094// CHECK: vpcmpistrm  $7, %xmm2, %xmm5
2095// CHECK: encoding: [0xc4,0xe3,0x79,0x62,0xea,0x07]
2096          vpcmpistrm  $7, %xmm2, %xmm5
2097
2098// CHECK: vpcmpistrm  $7, (%eax), %xmm5
2099// CHECK: encoding: [0xc4,0xe3,0x79,0x62,0x28,0x07]
2100          vpcmpistrm  $7, (%eax), %xmm5
2101
2102// CHECK: vpcmpestrm  $7, %xmm2, %xmm5
2103// CHECK: encoding: [0xc4,0xe3,0x79,0x60,0xea,0x07]
2104          vpcmpestrm  $7, %xmm2, %xmm5
2105
2106// CHECK: vpcmpestrm  $7, (%eax), %xmm5
2107// CHECK: encoding: [0xc4,0xe3,0x79,0x60,0x28,0x07]
2108          vpcmpestrm  $7, (%eax), %xmm5
2109
2110// CHECK: vpcmpistri  $7, %xmm2, %xmm5
2111// CHECK: encoding: [0xc4,0xe3,0x79,0x63,0xea,0x07]
2112          vpcmpistri  $7, %xmm2, %xmm5
2113
2114// CHECK: vpcmpistri  $7, (%eax), %xmm5
2115// CHECK: encoding: [0xc4,0xe3,0x79,0x63,0x28,0x07]
2116          vpcmpistri  $7, (%eax), %xmm5
2117
2118// CHECK: vpcmpestri  $7, %xmm2, %xmm5
2119// CHECK: encoding: [0xc4,0xe3,0x79,0x61,0xea,0x07]
2120          vpcmpestri  $7, %xmm2, %xmm5
2121
2122// CHECK: vpcmpestri  $7, (%eax), %xmm5
2123// CHECK: encoding: [0xc4,0xe3,0x79,0x61,0x28,0x07]
2124          vpcmpestri  $7, (%eax), %xmm5
2125
2126// CHECK: vaesimc  %xmm2, %xmm5
2127// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0xea]
2128          vaesimc  %xmm2, %xmm5
2129
2130// CHECK: vaesimc  (%eax), %xmm2
2131// CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x10]
2132          vaesimc  (%eax), %xmm2
2133
2134// CHECK: vaesenc  %xmm2, %xmm5, %xmm1
2135// CHECK: encoding: [0xc4,0xe2,0x51,0xdc,0xca]
2136          vaesenc  %xmm2, %xmm5, %xmm1
2137
2138// CHECK: vaesenc  (%eax), %xmm5, %xmm3
2139// CHECK: encoding: [0xc4,0xe2,0x51,0xdc,0x18]
2140          vaesenc  (%eax), %xmm5, %xmm3
2141
2142// CHECK: vaesenclast  %xmm2, %xmm5, %xmm1
2143// CHECK: encoding: [0xc4,0xe2,0x51,0xdd,0xca]
2144          vaesenclast  %xmm2, %xmm5, %xmm1
2145
2146// CHECK: vaesenclast  (%eax), %xmm5, %xmm3
2147// CHECK: encoding: [0xc4,0xe2,0x51,0xdd,0x18]
2148          vaesenclast  (%eax), %xmm5, %xmm3
2149
2150// CHECK: vaesdec  %xmm2, %xmm5, %xmm1
2151// CHECK: encoding: [0xc4,0xe2,0x51,0xde,0xca]
2152          vaesdec  %xmm2, %xmm5, %xmm1
2153
2154// CHECK: vaesdec  (%eax), %xmm5, %xmm3
2155// CHECK: encoding: [0xc4,0xe2,0x51,0xde,0x18]
2156          vaesdec  (%eax), %xmm5, %xmm3
2157
2158// CHECK: vaesdeclast  %xmm2, %xmm5, %xmm1
2159// CHECK: encoding: [0xc4,0xe2,0x51,0xdf,0xca]
2160          vaesdeclast  %xmm2, %xmm5, %xmm1
2161
2162// CHECK: vaesdeclast  (%eax), %xmm5, %xmm3
2163// CHECK: encoding: [0xc4,0xe2,0x51,0xdf,0x18]
2164          vaesdeclast  (%eax), %xmm5, %xmm3
2165
2166// CHECK: vaeskeygenassist  $7, %xmm2, %xmm5
2167// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0xea,0x07]
2168          vaeskeygenassist  $7, %xmm2, %xmm5
2169
2170// CHECK: vaeskeygenassist  $7, (%eax), %xmm5
2171// CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x28,0x07]
2172          vaeskeygenassist  $7, (%eax), %xmm5
2173
2174// CHECK: vcmpps  $8, %xmm1, %xmm2, %xmm3
2175// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x08]
2176          vcmpeq_uqps %xmm1, %xmm2, %xmm3
2177
2178// CHECK: vcmpps  $9, %xmm1, %xmm2, %xmm3
2179// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x09]
2180          vcmpngeps %xmm1, %xmm2, %xmm3
2181
2182// CHECK: vcmpps  $10, %xmm1, %xmm2, %xmm3
2183// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x0a]
2184          vcmpngtps %xmm1, %xmm2, %xmm3
2185
2186// CHECK: vcmpps  $11, %xmm1, %xmm2, %xmm3
2187// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x0b]
2188          vcmpfalseps %xmm1, %xmm2, %xmm3
2189
2190// CHECK: vcmpps  $12, %xmm1, %xmm2, %xmm3
2191// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x0c]
2192          vcmpneq_oqps %xmm1, %xmm2, %xmm3
2193
2194// CHECK: vcmpps  $13, %xmm1, %xmm2, %xmm3
2195// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x0d]
2196          vcmpgeps %xmm1, %xmm2, %xmm3
2197
2198// CHECK: vcmpps  $14, %xmm1, %xmm2, %xmm3
2199// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x0e]
2200          vcmpgtps %xmm1, %xmm2, %xmm3
2201
2202// CHECK: vcmpps  $15, %xmm1, %xmm2, %xmm3
2203// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x0f]
2204          vcmptrueps %xmm1, %xmm2, %xmm3
2205
2206// CHECK: vcmpps  $16, %xmm1, %xmm2, %xmm3
2207// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x10]
2208          vcmpeq_osps %xmm1, %xmm2, %xmm3
2209
2210// CHECK: vcmpps  $17, %xmm1, %xmm2, %xmm3
2211// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x11]
2212          vcmplt_oqps %xmm1, %xmm2, %xmm3
2213
2214// CHECK: vcmpps  $18, %xmm1, %xmm2, %xmm3
2215// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x12]
2216          vcmple_oqps %xmm1, %xmm2, %xmm3
2217
2218// CHECK: vcmpps  $19, %xmm1, %xmm2, %xmm3
2219// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x13]
2220          vcmpunord_sps %xmm1, %xmm2, %xmm3
2221
2222// CHECK: vcmpps  $20, %xmm1, %xmm2, %xmm3
2223// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x14]
2224          vcmpneq_usps %xmm1, %xmm2, %xmm3
2225
2226// CHECK: vcmpps  $21, %xmm1, %xmm2, %xmm3
2227// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x15]
2228          vcmpnlt_uqps %xmm1, %xmm2, %xmm3
2229
2230// CHECK: vcmpps  $22, %xmm1, %xmm2, %xmm3
2231// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x16]
2232          vcmpnle_uqps %xmm1, %xmm2, %xmm3
2233
2234// CHECK: vcmpps  $23, %xmm1, %xmm2, %xmm3
2235// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x17]
2236          vcmpord_sps %xmm1, %xmm2, %xmm3
2237
2238// CHECK: vcmpps  $24, %xmm1, %xmm2, %xmm3
2239// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x18]
2240          vcmpeq_usps %xmm1, %xmm2, %xmm3
2241
2242// CHECK: vcmpps  $25, %xmm1, %xmm2, %xmm3
2243// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x19]
2244          vcmpnge_uqps %xmm1, %xmm2, %xmm3
2245
2246// CHECK: vcmpps  $26, %xmm1, %xmm2, %xmm3
2247// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x1a]
2248          vcmpngt_uqps %xmm1, %xmm2, %xmm3
2249
2250// CHECK: vcmpps  $27, %xmm1, %xmm2, %xmm3
2251// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x1b]
2252          vcmpfalse_osps %xmm1, %xmm2, %xmm3
2253
2254// CHECK: vcmpps  $28, %xmm1, %xmm2, %xmm3
2255// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x1c]
2256          vcmpneq_osps %xmm1, %xmm2, %xmm3
2257
2258// CHECK: vcmpps  $29, %xmm1, %xmm2, %xmm3
2259// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x1d]
2260          vcmpge_oqps %xmm1, %xmm2, %xmm3
2261
2262// CHECK: vcmpps  $30, %xmm1, %xmm2, %xmm3
2263// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x1e]
2264          vcmpgt_oqps %xmm1, %xmm2, %xmm3
2265
2266// CHECK: vcmpps  $31, %xmm1, %xmm2, %xmm3
2267// CHECK: encoding: [0xc5,0xe8,0xc2,0xd9,0x1f]
2268          vcmptrue_usps %xmm1, %xmm2, %xmm3
2269
2270// CHECK: vmovaps  (%eax), %ymm2
2271// CHECK: encoding: [0xc5,0xfc,0x28,0x10]
2272          vmovaps  (%eax), %ymm2
2273
2274// CHECK: vmovaps  %ymm1, %ymm2
2275// CHECK: encoding: [0xc5,0xfc,0x28,0xd1]
2276          vmovaps  %ymm1, %ymm2
2277
2278// CHECK: vmovaps  %ymm1, (%eax)
2279// CHECK: encoding: [0xc5,0xfc,0x29,0x08]
2280          vmovaps  %ymm1, (%eax)
2281
2282// CHECK: vmovapd  (%eax), %ymm2
2283// CHECK: encoding: [0xc5,0xfd,0x28,0x10]
2284          vmovapd  (%eax), %ymm2
2285
2286// CHECK: vmovapd  %ymm1, %ymm2
2287// CHECK: encoding: [0xc5,0xfd,0x28,0xd1]
2288          vmovapd  %ymm1, %ymm2
2289
2290// CHECK: vmovapd  %ymm1, (%eax)
2291// CHECK: encoding: [0xc5,0xfd,0x29,0x08]
2292          vmovapd  %ymm1, (%eax)
2293
2294// CHECK: vmovups  (%eax), %ymm2
2295// CHECK: encoding: [0xc5,0xfc,0x10,0x10]
2296          vmovups  (%eax), %ymm2
2297
2298// CHECK: vmovups  %ymm1, %ymm2
2299// CHECK: encoding: [0xc5,0xfc,0x10,0xd1]
2300          vmovups  %ymm1, %ymm2
2301
2302// CHECK: vmovups  %ymm1, (%eax)
2303// CHECK: encoding: [0xc5,0xfc,0x11,0x08]
2304          vmovups  %ymm1, (%eax)
2305
2306// CHECK: vmovupd  (%eax), %ymm2
2307// CHECK: encoding: [0xc5,0xfd,0x10,0x10]
2308          vmovupd  (%eax), %ymm2
2309
2310// CHECK: vmovupd  %ymm1, %ymm2
2311// CHECK: encoding: [0xc5,0xfd,0x10,0xd1]
2312          vmovupd  %ymm1, %ymm2
2313
2314// CHECK: vmovupd  %ymm1, (%eax)
2315// CHECK: encoding: [0xc5,0xfd,0x11,0x08]
2316          vmovupd  %ymm1, (%eax)
2317
2318// CHECK: vunpckhps  %ymm1, %ymm2, %ymm4
2319// CHECK: encoding: [0xc5,0xec,0x15,0xe1]
2320          vunpckhps  %ymm1, %ymm2, %ymm4
2321
2322// CHECK: vunpckhpd  %ymm1, %ymm2, %ymm4
2323// CHECK: encoding: [0xc5,0xed,0x15,0xe1]
2324          vunpckhpd  %ymm1, %ymm2, %ymm4
2325
2326// CHECK: vunpcklps  %ymm1, %ymm2, %ymm4
2327// CHECK: encoding: [0xc5,0xec,0x14,0xe1]
2328          vunpcklps  %ymm1, %ymm2, %ymm4
2329
2330// CHECK: vunpcklpd  %ymm1, %ymm2, %ymm4
2331// CHECK: encoding: [0xc5,0xed,0x14,0xe1]
2332          vunpcklpd  %ymm1, %ymm2, %ymm4
2333
2334// CHECK: vunpckhps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2335// CHECK: encoding: [0xc5,0xec,0x15,0x6c,0xcb,0xfc]
2336          vunpckhps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2337
2338// CHECK: vunpckhpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2339// CHECK: encoding: [0xc5,0xed,0x15,0x6c,0xcb,0xfc]
2340          vunpckhpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2341
2342// CHECK: vunpcklps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2343// CHECK: encoding: [0xc5,0xec,0x14,0x6c,0xcb,0xfc]
2344          vunpcklps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2345
2346// CHECK: vunpcklpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2347// CHECK: encoding: [0xc5,0xed,0x14,0x6c,0xcb,0xfc]
2348          vunpcklpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2349
2350// CHECK: vmovntdq  %ymm1, (%eax)
2351// CHECK: encoding: [0xc5,0xfd,0xe7,0x08]
2352          vmovntdq  %ymm1, (%eax)
2353
2354// CHECK: vmovntpd  %ymm1, (%eax)
2355// CHECK: encoding: [0xc5,0xfd,0x2b,0x08]
2356          vmovntpd  %ymm1, (%eax)
2357
2358// CHECK: vmovntps  %ymm1, (%eax)
2359// CHECK: encoding: [0xc5,0xfc,0x2b,0x08]
2360          vmovntps  %ymm1, (%eax)
2361
2362// CHECK: vmovmskps  %xmm2, %eax
2363// CHECK: encoding: [0xc5,0xf8,0x50,0xc2]
2364          vmovmskps  %xmm2, %eax
2365
2366// CHECK: vmovmskpd  %xmm2, %eax
2367// CHECK: encoding: [0xc5,0xf9,0x50,0xc2]
2368          vmovmskpd  %xmm2, %eax
2369
2370// CHECK: vmaxps  %ymm2, %ymm4, %ymm6
2371// CHECK: encoding: [0xc5,0xdc,0x5f,0xf2]
2372          vmaxps  %ymm2, %ymm4, %ymm6
2373
2374// CHECK: vmaxpd  %ymm2, %ymm4, %ymm6
2375// CHECK: encoding: [0xc5,0xdd,0x5f,0xf2]
2376          vmaxpd  %ymm2, %ymm4, %ymm6
2377
2378// CHECK: vminps  %ymm2, %ymm4, %ymm6
2379// CHECK: encoding: [0xc5,0xdc,0x5d,0xf2]
2380          vminps  %ymm2, %ymm4, %ymm6
2381
2382// CHECK: vminpd  %ymm2, %ymm4, %ymm6
2383// CHECK: encoding: [0xc5,0xdd,0x5d,0xf2]
2384          vminpd  %ymm2, %ymm4, %ymm6
2385
2386// CHECK: vsubps  %ymm2, %ymm4, %ymm6
2387// CHECK: encoding: [0xc5,0xdc,0x5c,0xf2]
2388          vsubps  %ymm2, %ymm4, %ymm6
2389
2390// CHECK: vsubpd  %ymm2, %ymm4, %ymm6
2391// CHECK: encoding: [0xc5,0xdd,0x5c,0xf2]
2392          vsubpd  %ymm2, %ymm4, %ymm6
2393
2394// CHECK: vdivps  %ymm2, %ymm4, %ymm6
2395// CHECK: encoding: [0xc5,0xdc,0x5e,0xf2]
2396          vdivps  %ymm2, %ymm4, %ymm6
2397
2398// CHECK: vdivpd  %ymm2, %ymm4, %ymm6
2399// CHECK: encoding: [0xc5,0xdd,0x5e,0xf2]
2400          vdivpd  %ymm2, %ymm4, %ymm6
2401
2402// CHECK: vaddps  %ymm2, %ymm4, %ymm6
2403// CHECK: encoding: [0xc5,0xdc,0x58,0xf2]
2404          vaddps  %ymm2, %ymm4, %ymm6
2405
2406// CHECK: vaddpd  %ymm2, %ymm4, %ymm6
2407// CHECK: encoding: [0xc5,0xdd,0x58,0xf2]
2408          vaddpd  %ymm2, %ymm4, %ymm6
2409
2410// CHECK: vmulps  %ymm2, %ymm4, %ymm6
2411// CHECK: encoding: [0xc5,0xdc,0x59,0xf2]
2412          vmulps  %ymm2, %ymm4, %ymm6
2413
2414// CHECK: vmulpd  %ymm2, %ymm4, %ymm6
2415// CHECK: encoding: [0xc5,0xdd,0x59,0xf2]
2416          vmulpd  %ymm2, %ymm4, %ymm6
2417
2418// CHECK: vmaxps  (%eax), %ymm4, %ymm6
2419// CHECK: encoding: [0xc5,0xdc,0x5f,0x30]
2420          vmaxps  (%eax), %ymm4, %ymm6
2421
2422// CHECK: vmaxpd  (%eax), %ymm4, %ymm6
2423// CHECK: encoding: [0xc5,0xdd,0x5f,0x30]
2424          vmaxpd  (%eax), %ymm4, %ymm6
2425
2426// CHECK: vminps  (%eax), %ymm4, %ymm6
2427// CHECK: encoding: [0xc5,0xdc,0x5d,0x30]
2428          vminps  (%eax), %ymm4, %ymm6
2429
2430// CHECK: vminpd  (%eax), %ymm4, %ymm6
2431// CHECK: encoding: [0xc5,0xdd,0x5d,0x30]
2432          vminpd  (%eax), %ymm4, %ymm6
2433
2434// CHECK: vsubps  (%eax), %ymm4, %ymm6
2435// CHECK: encoding: [0xc5,0xdc,0x5c,0x30]
2436          vsubps  (%eax), %ymm4, %ymm6
2437
2438// CHECK: vsubpd  (%eax), %ymm4, %ymm6
2439// CHECK: encoding: [0xc5,0xdd,0x5c,0x30]
2440          vsubpd  (%eax), %ymm4, %ymm6
2441
2442// CHECK: vdivps  (%eax), %ymm4, %ymm6
2443// CHECK: encoding: [0xc5,0xdc,0x5e,0x30]
2444          vdivps  (%eax), %ymm4, %ymm6
2445
2446// CHECK: vdivpd  (%eax), %ymm4, %ymm6
2447// CHECK: encoding: [0xc5,0xdd,0x5e,0x30]
2448          vdivpd  (%eax), %ymm4, %ymm6
2449
2450// CHECK: vaddps  (%eax), %ymm4, %ymm6
2451// CHECK: encoding: [0xc5,0xdc,0x58,0x30]
2452          vaddps  (%eax), %ymm4, %ymm6
2453
2454// CHECK: vaddpd  (%eax), %ymm4, %ymm6
2455// CHECK: encoding: [0xc5,0xdd,0x58,0x30]
2456          vaddpd  (%eax), %ymm4, %ymm6
2457
2458// CHECK: vmulps  (%eax), %ymm4, %ymm6
2459// CHECK: encoding: [0xc5,0xdc,0x59,0x30]
2460          vmulps  (%eax), %ymm4, %ymm6
2461
2462// CHECK: vmulpd  (%eax), %ymm4, %ymm6
2463// CHECK: encoding: [0xc5,0xdd,0x59,0x30]
2464          vmulpd  (%eax), %ymm4, %ymm6
2465
2466// CHECK: vsqrtpd  %ymm1, %ymm2
2467// CHECK: encoding: [0xc5,0xfd,0x51,0xd1]
2468          vsqrtpd  %ymm1, %ymm2
2469
2470// CHECK: vsqrtpd  (%eax), %ymm2
2471// CHECK: encoding: [0xc5,0xfd,0x51,0x10]
2472          vsqrtpd  (%eax), %ymm2
2473
2474// CHECK: vsqrtps  %ymm1, %ymm2
2475// CHECK: encoding: [0xc5,0xfc,0x51,0xd1]
2476          vsqrtps  %ymm1, %ymm2
2477
2478// CHECK: vsqrtps  (%eax), %ymm2
2479// CHECK: encoding: [0xc5,0xfc,0x51,0x10]
2480          vsqrtps  (%eax), %ymm2
2481
2482// CHECK: vrsqrtps  %ymm1, %ymm2
2483// CHECK: encoding: [0xc5,0xfc,0x52,0xd1]
2484          vrsqrtps  %ymm1, %ymm2
2485
2486// CHECK: vrsqrtps  (%eax), %ymm2
2487// CHECK: encoding: [0xc5,0xfc,0x52,0x10]
2488          vrsqrtps  (%eax), %ymm2
2489
2490// CHECK: vrcpps  %ymm1, %ymm2
2491// CHECK: encoding: [0xc5,0xfc,0x53,0xd1]
2492          vrcpps  %ymm1, %ymm2
2493
2494// CHECK: vrcpps  (%eax), %ymm2
2495// CHECK: encoding: [0xc5,0xfc,0x53,0x10]
2496          vrcpps  (%eax), %ymm2
2497
2498// CHECK: vandps  %ymm2, %ymm4, %ymm6
2499// CHECK: encoding: [0xc5,0xdc,0x54,0xf2]
2500          vandps  %ymm2, %ymm4, %ymm6
2501
2502// CHECK: vandpd  %ymm2, %ymm4, %ymm6
2503// CHECK: encoding: [0xc5,0xdd,0x54,0xf2]
2504          vandpd  %ymm2, %ymm4, %ymm6
2505
2506// CHECK: vandps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2507// CHECK: encoding: [0xc5,0xec,0x54,0x6c,0xcb,0xfc]
2508          vandps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2509
2510// CHECK: vandpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2511// CHECK: encoding: [0xc5,0xed,0x54,0x6c,0xcb,0xfc]
2512          vandpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2513
2514// CHECK: vorps  %ymm2, %ymm4, %ymm6
2515// CHECK: encoding: [0xc5,0xdc,0x56,0xf2]
2516          vorps  %ymm2, %ymm4, %ymm6
2517
2518// CHECK: vorpd  %ymm2, %ymm4, %ymm6
2519// CHECK: encoding: [0xc5,0xdd,0x56,0xf2]
2520          vorpd  %ymm2, %ymm4, %ymm6
2521
2522// CHECK: vorps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2523// CHECK: encoding: [0xc5,0xec,0x56,0x6c,0xcb,0xfc]
2524          vorps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2525
2526// CHECK: vorpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2527// CHECK: encoding: [0xc5,0xed,0x56,0x6c,0xcb,0xfc]
2528          vorpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2529
2530// CHECK: vxorps  %ymm2, %ymm4, %ymm6
2531// CHECK: encoding: [0xc5,0xdc,0x57,0xf2]
2532          vxorps  %ymm2, %ymm4, %ymm6
2533
2534// CHECK: vxorpd  %ymm2, %ymm4, %ymm6
2535// CHECK: encoding: [0xc5,0xdd,0x57,0xf2]
2536          vxorpd  %ymm2, %ymm4, %ymm6
2537
2538// CHECK: vxorps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2539// CHECK: encoding: [0xc5,0xec,0x57,0x6c,0xcb,0xfc]
2540          vxorps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2541
2542// CHECK: vxorpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2543// CHECK: encoding: [0xc5,0xed,0x57,0x6c,0xcb,0xfc]
2544          vxorpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2545
2546// CHECK: vandnps  %ymm2, %ymm4, %ymm6
2547// CHECK: encoding: [0xc5,0xdc,0x55,0xf2]
2548          vandnps  %ymm2, %ymm4, %ymm6
2549
2550// CHECK: vandnpd  %ymm2, %ymm4, %ymm6
2551// CHECK: encoding: [0xc5,0xdd,0x55,0xf2]
2552          vandnpd  %ymm2, %ymm4, %ymm6
2553
2554// CHECK: vandnps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2555// CHECK: encoding: [0xc5,0xec,0x55,0x6c,0xcb,0xfc]
2556          vandnps  -4(%ebx,%ecx,8), %ymm2, %ymm5
2557
2558// CHECK: vandnpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2559// CHECK: encoding: [0xc5,0xed,0x55,0x6c,0xcb,0xfc]
2560          vandnpd  -4(%ebx,%ecx,8), %ymm2, %ymm5
2561
2562// CHECK: vcvtps2pd  %xmm3, %ymm2
2563// CHECK: encoding: [0xc5,0xfc,0x5a,0xd3]
2564          vcvtps2pd  %xmm3, %ymm2
2565
2566// CHECK: vcvtps2pd  (%eax), %ymm2
2567// CHECK: encoding: [0xc5,0xfc,0x5a,0x10]
2568          vcvtps2pd  (%eax), %ymm2
2569
2570// CHECK: vcvtdq2pd  %xmm3, %ymm2
2571// CHECK: encoding: [0xc5,0xfe,0xe6,0xd3]
2572          vcvtdq2pd  %xmm3, %ymm2
2573
2574// CHECK: vcvtdq2pd  (%eax), %ymm2
2575// CHECK: encoding: [0xc5,0xfe,0xe6,0x10]
2576          vcvtdq2pd  (%eax), %ymm2
2577
2578// CHECK: vcvtdq2ps  %ymm2, %ymm5
2579// CHECK: encoding: [0xc5,0xfc,0x5b,0xea]
2580          vcvtdq2ps  %ymm2, %ymm5
2581
2582// CHECK: vcvtdq2ps  (%eax), %ymm2
2583// CHECK: encoding: [0xc5,0xfc,0x5b,0x10]
2584          vcvtdq2ps  (%eax), %ymm2
2585
2586// CHECK: vcvtps2dq  %ymm2, %ymm5
2587// CHECK: encoding: [0xc5,0xfd,0x5b,0xea]
2588          vcvtps2dq  %ymm2, %ymm5
2589
2590// CHECK: vcvtps2dq  (%eax), %ymm5
2591// CHECK: encoding: [0xc5,0xfd,0x5b,0x28]
2592          vcvtps2dq  (%eax), %ymm5
2593
2594// CHECK: vcvttps2dq  %ymm2, %ymm5
2595// CHECK: encoding: [0xc5,0xfe,0x5b,0xea]
2596          vcvttps2dq  %ymm2, %ymm5
2597
2598// CHECK: vcvttps2dq  (%eax), %ymm5
2599// CHECK: encoding: [0xc5,0xfe,0x5b,0x28]
2600          vcvttps2dq  (%eax), %ymm5
2601
2602// CHECK: vcvttpd2dq  %xmm1, %xmm5
2603// CHECK: encoding: [0xc5,0xf9,0xe6,0xe9]
2604          vcvttpd2dq  %xmm1, %xmm5
2605
2606// CHECK: vcvttpd2dq  %ymm2, %xmm5
2607// CHECK: encoding: [0xc5,0xfd,0xe6,0xea]
2608          vcvttpd2dq  %ymm2, %xmm5
2609
2610// CHECK: vcvttpd2dqx  %xmm1, %xmm5
2611// CHECK: encoding: [0xc5,0xf9,0xe6,0xe9]
2612          vcvttpd2dqx  %xmm1, %xmm5
2613
2614// CHECK: vcvttpd2dqx  (%eax), %xmm1
2615// CHECK: encoding: [0xc5,0xf9,0xe6,0x08]
2616          vcvttpd2dqx  (%eax), %xmm1
2617
2618// CHECK: vcvttpd2dqy  %ymm2, %xmm1
2619// CHECK: encoding: [0xc5,0xfd,0xe6,0xca]
2620          vcvttpd2dqy  %ymm2, %xmm1
2621
2622// CHECK: vcvttpd2dqy  (%eax), %xmm1
2623// CHECK: encoding: [0xc5,0xfd,0xe6,0x08]
2624          vcvttpd2dqy  (%eax), %xmm1
2625
2626// CHECK: vcvtpd2ps  %ymm2, %xmm5
2627// CHECK: encoding: [0xc5,0xfd,0x5a,0xea]
2628          vcvtpd2ps  %ymm2, %xmm5
2629
2630// CHECK: vcvtpd2psx  %xmm1, %xmm5
2631// CHECK: encoding: [0xc5,0xf9,0x5a,0xe9]
2632          vcvtpd2psx  %xmm1, %xmm5
2633
2634// CHECK: vcvtpd2psx  (%eax), %xmm1
2635// CHECK: encoding: [0xc5,0xf9,0x5a,0x08]
2636          vcvtpd2psx  (%eax), %xmm1
2637
2638// CHECK: vcvtpd2psy  %ymm2, %xmm1
2639// CHECK: encoding: [0xc5,0xfd,0x5a,0xca]
2640          vcvtpd2psy  %ymm2, %xmm1
2641
2642// CHECK: vcvtpd2psy  (%eax), %xmm1
2643// CHECK: encoding: [0xc5,0xfd,0x5a,0x08]
2644          vcvtpd2psy  (%eax), %xmm1
2645
2646// CHECK: vcvtpd2dq  %ymm2, %xmm5
2647// CHECK: encoding: [0xc5,0xff,0xe6,0xea]
2648          vcvtpd2dq  %ymm2, %xmm5
2649
2650// CHECK: vcvtpd2dqy  %ymm2, %xmm1
2651// CHECK: encoding: [0xc5,0xff,0xe6,0xca]
2652          vcvtpd2dqy  %ymm2, %xmm1
2653
2654// CHECK: vcvtpd2dqy  (%eax), %xmm1
2655// CHECK: encoding: [0xc5,0xff,0xe6,0x08]
2656          vcvtpd2dqy  (%eax), %xmm1
2657
2658// CHECK: vcvtpd2dqx  %xmm1, %xmm5
2659// CHECK: encoding: [0xc5,0xfb,0xe6,0xe9]
2660          vcvtpd2dqx  %xmm1, %xmm5
2661
2662// CHECK: vcvtpd2dqx  (%eax), %xmm1
2663// CHECK: encoding: [0xc5,0xfb,0xe6,0x08]
2664          vcvtpd2dqx  (%eax), %xmm1
2665
2666// CHECK: vcmpps  $0, %ymm1, %ymm2, %ymm3
2667// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x00]
2668          vcmpeqps %ymm1, %ymm2, %ymm3
2669
2670// CHECK: vcmpps  $2, %ymm1, %ymm2, %ymm3
2671// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x02]
2672          vcmpleps %ymm1, %ymm2, %ymm3
2673
2674// CHECK: vcmpps  $1, %ymm1, %ymm2, %ymm3
2675// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x01]
2676          vcmpltps %ymm1, %ymm2, %ymm3
2677
2678// CHECK: vcmpps  $4, %ymm1, %ymm2, %ymm3
2679// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x04]
2680          vcmpneqps %ymm1, %ymm2, %ymm3
2681
2682// CHECK: vcmpps  $6, %ymm1, %ymm2, %ymm3
2683// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x06]
2684          vcmpnleps %ymm1, %ymm2, %ymm3
2685
2686// CHECK: vcmpps  $5, %ymm1, %ymm2, %ymm3
2687// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x05]
2688          vcmpnltps %ymm1, %ymm2, %ymm3
2689
2690// CHECK: vcmpps  $7, %ymm1, %ymm2, %ymm3
2691// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x07]
2692          vcmpordps %ymm1, %ymm2, %ymm3
2693
2694// CHECK: vcmpps  $3, %ymm1, %ymm2, %ymm3
2695// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x03]
2696          vcmpunordps %ymm1, %ymm2, %ymm3
2697
2698// CHECK: vcmpps  $0, -4(%ebx,%ecx,8), %ymm2, %ymm3
2699// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x00]
2700          vcmpeqps -4(%ebx,%ecx,8), %ymm2, %ymm3
2701
2702// CHECK: vcmpps  $2, -4(%ebx,%ecx,8), %ymm2, %ymm3
2703// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x02]
2704          vcmpleps -4(%ebx,%ecx,8), %ymm2, %ymm3
2705
2706// CHECK: vcmpps  $1, -4(%ebx,%ecx,8), %ymm2, %ymm3
2707// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x01]
2708          vcmpltps -4(%ebx,%ecx,8), %ymm2, %ymm3
2709
2710// CHECK: vcmpps  $4, -4(%ebx,%ecx,8), %ymm2, %ymm3
2711// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x04]
2712          vcmpneqps -4(%ebx,%ecx,8), %ymm2, %ymm3
2713
2714// CHECK: vcmpps  $6, -4(%ebx,%ecx,8), %ymm2, %ymm3
2715// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x06]
2716          vcmpnleps -4(%ebx,%ecx,8), %ymm2, %ymm3
2717
2718// CHECK: vcmpps  $5, -4(%ebx,%ecx,8), %ymm2, %ymm3
2719// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x05]
2720          vcmpnltps -4(%ebx,%ecx,8), %ymm2, %ymm3
2721
2722// CHECK: vcmpps  $7, -4(%ebx,%ecx,8), %ymm6, %ymm2
2723// CHECK: encoding: [0xc5,0xcc,0xc2,0x54,0xcb,0xfc,0x07]
2724          vcmpordps -4(%ebx,%ecx,8), %ymm6, %ymm2
2725
2726// CHECK: vcmpps  $3, -4(%ebx,%ecx,8), %ymm2, %ymm3
2727// CHECK: encoding: [0xc5,0xec,0xc2,0x5c,0xcb,0xfc,0x03]
2728          vcmpunordps -4(%ebx,%ecx,8), %ymm2, %ymm3
2729
2730// CHECK: vcmppd  $0, %ymm1, %ymm2, %ymm3
2731// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x00]
2732          vcmpeqpd %ymm1, %ymm2, %ymm3
2733
2734// CHECK: vcmppd  $2, %ymm1, %ymm2, %ymm3
2735// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x02]
2736          vcmplepd %ymm1, %ymm2, %ymm3
2737
2738// CHECK: vcmppd  $1, %ymm1, %ymm2, %ymm3
2739// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x01]
2740          vcmpltpd %ymm1, %ymm2, %ymm3
2741
2742// CHECK: vcmppd  $4, %ymm1, %ymm2, %ymm3
2743// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x04]
2744          vcmpneqpd %ymm1, %ymm2, %ymm3
2745
2746// CHECK: vcmppd  $6, %ymm1, %ymm2, %ymm3
2747// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x06]
2748          vcmpnlepd %ymm1, %ymm2, %ymm3
2749
2750// CHECK: vcmppd  $5, %ymm1, %ymm2, %ymm3
2751// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x05]
2752          vcmpnltpd %ymm1, %ymm2, %ymm3
2753
2754// CHECK: vcmppd  $7, %ymm1, %ymm2, %ymm3
2755// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x07]
2756          vcmpordpd %ymm1, %ymm2, %ymm3
2757
2758// CHECK: vcmppd  $3, %ymm1, %ymm2, %ymm3
2759// CHECK: encoding: [0xc5,0xed,0xc2,0xd9,0x03]
2760          vcmpunordpd %ymm1, %ymm2, %ymm3
2761
2762// CHECK: vcmppd  $0, -4(%ebx,%ecx,8), %ymm2, %ymm3
2763// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x00]
2764          vcmpeqpd -4(%ebx,%ecx,8), %ymm2, %ymm3
2765
2766// CHECK: vcmppd  $2, -4(%ebx,%ecx,8), %ymm2, %ymm3
2767// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x02]
2768          vcmplepd -4(%ebx,%ecx,8), %ymm2, %ymm3
2769
2770// CHECK: vcmppd  $1, -4(%ebx,%ecx,8), %ymm2, %ymm3
2771// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x01]
2772          vcmpltpd -4(%ebx,%ecx,8), %ymm2, %ymm3
2773
2774// CHECK: vcmppd  $4, -4(%ebx,%ecx,8), %ymm2, %ymm3
2775// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x04]
2776          vcmpneqpd -4(%ebx,%ecx,8), %ymm2, %ymm3
2777
2778// CHECK: vcmppd  $6, -4(%ebx,%ecx,8), %ymm2, %ymm3
2779// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x06]
2780          vcmpnlepd -4(%ebx,%ecx,8), %ymm2, %ymm3
2781
2782// CHECK: vcmppd  $5, -4(%ebx,%ecx,8), %ymm2, %ymm3
2783// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x05]
2784          vcmpnltpd -4(%ebx,%ecx,8), %ymm2, %ymm3
2785
2786// CHECK: vcmppd  $7, -4(%ebx,%ecx,8), %ymm6, %ymm2
2787// CHECK: encoding: [0xc5,0xcd,0xc2,0x54,0xcb,0xfc,0x07]
2788          vcmpordpd -4(%ebx,%ecx,8), %ymm6, %ymm2
2789
2790// CHECK: vcmppd  $3, -4(%ebx,%ecx,8), %ymm2, %ymm3
2791// CHECK: encoding: [0xc5,0xed,0xc2,0x5c,0xcb,0xfc,0x03]
2792          vcmpunordpd -4(%ebx,%ecx,8), %ymm2, %ymm3
2793
2794// CHECK: vcmpps  $8, %ymm1, %ymm2, %ymm3
2795// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x08]
2796          vcmpeq_uqps %ymm1, %ymm2, %ymm3
2797
2798// CHECK: vcmpps  $9, %ymm1, %ymm2, %ymm3
2799// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x09]
2800          vcmpngeps %ymm1, %ymm2, %ymm3
2801
2802// CHECK: vcmpps  $10, %ymm1, %ymm2, %ymm3
2803// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x0a]
2804          vcmpngtps %ymm1, %ymm2, %ymm3
2805
2806// CHECK: vcmpps  $11, %ymm1, %ymm2, %ymm3
2807// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x0b]
2808          vcmpfalseps %ymm1, %ymm2, %ymm3
2809
2810// CHECK: vcmpps  $12, %ymm1, %ymm2, %ymm3
2811// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x0c]
2812          vcmpneq_oqps %ymm1, %ymm2, %ymm3
2813
2814// CHECK: vcmpps  $13, %ymm1, %ymm2, %ymm3
2815// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x0d]
2816          vcmpgeps %ymm1, %ymm2, %ymm3
2817
2818// CHECK: vcmpps  $14, %ymm1, %ymm2, %ymm3
2819// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x0e]
2820          vcmpgtps %ymm1, %ymm2, %ymm3
2821
2822// CHECK: vcmpps  $15, %ymm1, %ymm2, %ymm3
2823// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x0f]
2824          vcmptrueps %ymm1, %ymm2, %ymm3
2825
2826// CHECK: vcmpps  $16, %ymm1, %ymm2, %ymm3
2827// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x10]
2828          vcmpeq_osps %ymm1, %ymm2, %ymm3
2829
2830// CHECK: vcmpps  $17, %ymm1, %ymm2, %ymm3
2831// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x11]
2832          vcmplt_oqps %ymm1, %ymm2, %ymm3
2833
2834// CHECK: vcmpps  $18, %ymm1, %ymm2, %ymm3
2835// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x12]
2836          vcmple_oqps %ymm1, %ymm2, %ymm3
2837
2838// CHECK: vcmpps  $19, %ymm1, %ymm2, %ymm3
2839// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x13]
2840          vcmpunord_sps %ymm1, %ymm2, %ymm3
2841
2842// CHECK: vcmpps  $20, %ymm1, %ymm2, %ymm3
2843// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x14]
2844          vcmpneq_usps %ymm1, %ymm2, %ymm3
2845
2846// CHECK: vcmpps  $21, %ymm1, %ymm2, %ymm3
2847// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x15]
2848          vcmpnlt_uqps %ymm1, %ymm2, %ymm3
2849
2850// CHECK: vcmpps  $22, %ymm1, %ymm2, %ymm3
2851// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x16]
2852          vcmpnle_uqps %ymm1, %ymm2, %ymm3
2853
2854// CHECK: vcmpps  $23, %ymm1, %ymm2, %ymm3
2855// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x17]
2856          vcmpord_sps %ymm1, %ymm2, %ymm3
2857
2858// CHECK: vcmpps  $24, %ymm1, %ymm2, %ymm3
2859// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x18]
2860          vcmpeq_usps %ymm1, %ymm2, %ymm3
2861
2862// CHECK: vcmpps  $25, %ymm1, %ymm2, %ymm3
2863// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x19]
2864          vcmpnge_uqps %ymm1, %ymm2, %ymm3
2865
2866// CHECK: vcmpps  $26, %ymm1, %ymm2, %ymm3
2867// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x1a]
2868          vcmpngt_uqps %ymm1, %ymm2, %ymm3
2869
2870// CHECK: vcmpps  $27, %ymm1, %ymm2, %ymm3
2871// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x1b]
2872          vcmpfalse_osps %ymm1, %ymm2, %ymm3
2873
2874// CHECK: vcmpps  $28, %ymm1, %ymm2, %ymm3
2875// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x1c]
2876          vcmpneq_osps %ymm1, %ymm2, %ymm3
2877
2878// CHECK: vcmpps  $29, %ymm1, %ymm2, %ymm3
2879// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x1d]
2880          vcmpge_oqps %ymm1, %ymm2, %ymm3
2881
2882// CHECK: vcmpps  $30, %ymm1, %ymm2, %ymm3
2883// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x1e]
2884          vcmpgt_oqps %ymm1, %ymm2, %ymm3
2885
2886// CHECK: vcmpps  $31, %ymm1, %ymm2, %ymm3
2887// CHECK: encoding: [0xc5,0xec,0xc2,0xd9,0x1f]
2888          vcmptrue_usps %ymm1, %ymm2, %ymm3
2889
2890// CHECK: vaddsubps  %ymm1, %ymm2, %ymm3
2891// CHECK: encoding: [0xc5,0xef,0xd0,0xd9]
2892          vaddsubps  %ymm1, %ymm2, %ymm3
2893
2894// CHECK: vaddsubps  (%eax), %ymm1, %ymm2
2895// CHECK: encoding: [0xc5,0xf7,0xd0,0x10]
2896          vaddsubps  (%eax), %ymm1, %ymm2
2897
2898// CHECK: vaddsubpd  %ymm1, %ymm2, %ymm3
2899// CHECK: encoding: [0xc5,0xed,0xd0,0xd9]
2900          vaddsubpd  %ymm1, %ymm2, %ymm3
2901
2902// CHECK: vaddsubpd  (%eax), %ymm1, %ymm2
2903// CHECK: encoding: [0xc5,0xf5,0xd0,0x10]
2904          vaddsubpd  (%eax), %ymm1, %ymm2
2905
2906// CHECK: vhaddps  %ymm1, %ymm2, %ymm3
2907// CHECK: encoding: [0xc5,0xef,0x7c,0xd9]
2908          vhaddps  %ymm1, %ymm2, %ymm3
2909
2910// CHECK: vhaddps  (%eax), %ymm2, %ymm3
2911// CHECK: encoding: [0xc5,0xef,0x7c,0x18]
2912          vhaddps  (%eax), %ymm2, %ymm3
2913
2914// CHECK: vhaddpd  %ymm1, %ymm2, %ymm3
2915// CHECK: encoding: [0xc5,0xed,0x7c,0xd9]
2916          vhaddpd  %ymm1, %ymm2, %ymm3
2917
2918// CHECK: vhaddpd  (%eax), %ymm2, %ymm3
2919// CHECK: encoding: [0xc5,0xed,0x7c,0x18]
2920          vhaddpd  (%eax), %ymm2, %ymm3
2921
2922// CHECK: vhsubps  %ymm1, %ymm2, %ymm3
2923// CHECK: encoding: [0xc5,0xef,0x7d,0xd9]
2924          vhsubps  %ymm1, %ymm2, %ymm3
2925
2926// CHECK: vhsubps  (%eax), %ymm2, %ymm3
2927// CHECK: encoding: [0xc5,0xef,0x7d,0x18]
2928          vhsubps  (%eax), %ymm2, %ymm3
2929
2930// CHECK: vhsubpd  %ymm1, %ymm2, %ymm3
2931// CHECK: encoding: [0xc5,0xed,0x7d,0xd9]
2932          vhsubpd  %ymm1, %ymm2, %ymm3
2933
2934// CHECK: vhsubpd  (%eax), %ymm2, %ymm3
2935// CHECK: encoding: [0xc5,0xed,0x7d,0x18]
2936          vhsubpd  (%eax), %ymm2, %ymm3
2937
2938// CHECK: vblendps  $3, %ymm2, %ymm5, %ymm1
2939// CHECK: encoding: [0xc4,0xe3,0x55,0x0c,0xca,0x03]
2940          vblendps  $3, %ymm2, %ymm5, %ymm1
2941
2942// CHECK: vblendps  $3, (%eax), %ymm5, %ymm1
2943// CHECK: encoding: [0xc4,0xe3,0x55,0x0c,0x08,0x03]
2944          vblendps  $3, (%eax), %ymm5, %ymm1
2945
2946// CHECK: vblendpd  $3, %ymm2, %ymm5, %ymm1
2947// CHECK: encoding: [0xc4,0xe3,0x55,0x0d,0xca,0x03]
2948          vblendpd  $3, %ymm2, %ymm5, %ymm1
2949
2950// CHECK: vblendpd  $3, (%eax), %ymm5, %ymm1
2951// CHECK: encoding: [0xc4,0xe3,0x55,0x0d,0x08,0x03]
2952          vblendpd  $3, (%eax), %ymm5, %ymm1
2953
2954// CHECK: vdpps  $3, %ymm2, %ymm5, %ymm1
2955// CHECK: encoding: [0xc4,0xe3,0x55,0x40,0xca,0x03]
2956          vdpps  $3, %ymm2, %ymm5, %ymm1
2957
2958// CHECK: vdpps  $3, (%eax), %ymm5, %ymm1
2959// CHECK: encoding: [0xc4,0xe3,0x55,0x40,0x08,0x03]
2960          vdpps  $3, (%eax), %ymm5, %ymm1
2961
2962// CHECK: vbroadcastf128  (%eax), %ymm2
2963// CHECK: encoding: [0xc4,0xe2,0x7d,0x1a,0x10]
2964          vbroadcastf128  (%eax), %ymm2
2965
2966// CHECK: vbroadcastsd  (%eax), %ymm2
2967// CHECK: encoding: [0xc4,0xe2,0x7d,0x19,0x10]
2968          vbroadcastsd  (%eax), %ymm2
2969
2970// CHECK: vbroadcastss  (%eax), %xmm2
2971// CHECK: encoding: [0xc4,0xe2,0x79,0x18,0x10]
2972          vbroadcastss  (%eax), %xmm2
2973
2974// CHECK: vbroadcastss  (%eax), %ymm2
2975// CHECK: encoding: [0xc4,0xe2,0x7d,0x18,0x10]
2976          vbroadcastss  (%eax), %ymm2
2977
2978// CHECK: vinsertf128  $7, %xmm2, %ymm2, %ymm5
2979// CHECK: encoding: [0xc4,0xe3,0x6d,0x18,0xea,0x07]
2980          vinsertf128  $7, %xmm2, %ymm2, %ymm5
2981
2982// CHECK: vinsertf128  $7, (%eax), %ymm2, %ymm5
2983// CHECK: encoding: [0xc4,0xe3,0x6d,0x18,0x28,0x07]
2984          vinsertf128  $7, (%eax), %ymm2, %ymm5
2985
2986// CHECK: vextractf128  $7, %ymm2, %xmm2
2987// CHECK: encoding: [0xc4,0xe3,0x7d,0x19,0xd2,0x07]
2988          vextractf128  $7, %ymm2, %xmm2
2989
2990// CHECK: vextractf128  $7, %ymm2, (%eax)
2991// CHECK: encoding: [0xc4,0xe3,0x7d,0x19,0x10,0x07]
2992          vextractf128  $7, %ymm2, (%eax)
2993
2994// CHECK: vmaskmovpd  %xmm2, %xmm5, (%eax)
2995// CHECK: encoding: [0xc4,0xe2,0x51,0x2f,0x10]
2996          vmaskmovpd  %xmm2, %xmm5, (%eax)
2997
2998// CHECK: vmaskmovpd  %ymm2, %ymm5, (%eax)
2999// CHECK: encoding: [0xc4,0xe2,0x55,0x2f,0x10]
3000          vmaskmovpd  %ymm2, %ymm5, (%eax)
3001
3002// CHECK: vmaskmovpd  (%eax), %xmm2, %xmm5
3003// CHECK: encoding: [0xc4,0xe2,0x69,0x2d,0x28]
3004          vmaskmovpd  (%eax), %xmm2, %xmm5
3005
3006// CHECK: vmaskmovpd  (%eax), %ymm2, %ymm5
3007// CHECK: encoding: [0xc4,0xe2,0x6d,0x2d,0x28]
3008          vmaskmovpd  (%eax), %ymm2, %ymm5
3009
3010// CHECK: vmaskmovps  %xmm2, %xmm5, (%eax)
3011// CHECK: encoding: [0xc4,0xe2,0x51,0x2e,0x10]
3012          vmaskmovps  %xmm2, %xmm5, (%eax)
3013
3014// CHECK: vmaskmovps  %ymm2, %ymm5, (%eax)
3015// CHECK: encoding: [0xc4,0xe2,0x55,0x2e,0x10]
3016          vmaskmovps  %ymm2, %ymm5, (%eax)
3017
3018// CHECK: vmaskmovps  (%eax), %xmm2, %xmm5
3019// CHECK: encoding: [0xc4,0xe2,0x69,0x2c,0x28]
3020          vmaskmovps  (%eax), %xmm2, %xmm5
3021
3022// CHECK: vmaskmovps  (%eax), %ymm2, %ymm5
3023// CHECK: encoding: [0xc4,0xe2,0x6d,0x2c,0x28]
3024          vmaskmovps  (%eax), %ymm2, %ymm5
3025
3026// CHECK: vpermilps  $7, %xmm1, %xmm5
3027// CHECK: encoding: [0xc4,0xe3,0x79,0x04,0xe9,0x07]
3028          vpermilps  $7, %xmm1, %xmm5
3029
3030// CHECK: vpermilps  $7, %ymm5, %ymm1
3031// CHECK: encoding: [0xc4,0xe3,0x7d,0x04,0xcd,0x07]
3032          vpermilps  $7, %ymm5, %ymm1
3033
3034// CHECK: vpermilps  $7, (%eax), %xmm5
3035// CHECK: encoding: [0xc4,0xe3,0x79,0x04,0x28,0x07]
3036          vpermilps  $7, (%eax), %xmm5
3037
3038// CHECK: vpermilps  $7, (%eax), %ymm5
3039// CHECK: encoding: [0xc4,0xe3,0x7d,0x04,0x28,0x07]
3040          vpermilps  $7, (%eax), %ymm5
3041
3042// CHECK: vpermilps  %xmm1, %xmm5, %xmm1
3043// CHECK: encoding: [0xc4,0xe2,0x51,0x0c,0xc9]
3044          vpermilps  %xmm1, %xmm5, %xmm1
3045
3046// CHECK: vpermilps  %ymm1, %ymm5, %ymm1
3047// CHECK: encoding: [0xc4,0xe2,0x55,0x0c,0xc9]
3048          vpermilps  %ymm1, %ymm5, %ymm1
3049
3050// CHECK: vpermilps  (%eax), %xmm5, %xmm3
3051// CHECK: encoding: [0xc4,0xe2,0x51,0x0c,0x18]
3052          vpermilps  (%eax), %xmm5, %xmm3
3053
3054// CHECK: vpermilps  (%eax), %ymm5, %ymm1
3055// CHECK: encoding: [0xc4,0xe2,0x55,0x0c,0x08]
3056          vpermilps  (%eax), %ymm5, %ymm1
3057
3058// CHECK: vpermilpd  $7, %xmm1, %xmm5
3059// CHECK: encoding: [0xc4,0xe3,0x79,0x05,0xe9,0x07]
3060          vpermilpd  $7, %xmm1, %xmm5
3061
3062// CHECK: vpermilpd  $7, %ymm5, %ymm1
3063// CHECK: encoding: [0xc4,0xe3,0x7d,0x05,0xcd,0x07]
3064          vpermilpd  $7, %ymm5, %ymm1
3065
3066// CHECK: vpermilpd  $7, (%eax), %xmm5
3067// CHECK: encoding: [0xc4,0xe3,0x79,0x05,0x28,0x07]
3068          vpermilpd  $7, (%eax), %xmm5
3069
3070// CHECK: vpermilpd  $7, (%eax), %ymm5
3071// CHECK: encoding: [0xc4,0xe3,0x7d,0x05,0x28,0x07]
3072          vpermilpd  $7, (%eax), %ymm5
3073
3074// CHECK: vpermilpd  %xmm1, %xmm5, %xmm1
3075// CHECK: encoding: [0xc4,0xe2,0x51,0x0d,0xc9]
3076          vpermilpd  %xmm1, %xmm5, %xmm1
3077
3078// CHECK: vpermilpd  %ymm1, %ymm5, %ymm1
3079// CHECK: encoding: [0xc4,0xe2,0x55,0x0d,0xc9]
3080          vpermilpd  %ymm1, %ymm5, %ymm1
3081
3082// CHECK: vpermilpd  (%eax), %xmm5, %xmm3
3083// CHECK: encoding: [0xc4,0xe2,0x51,0x0d,0x18]
3084          vpermilpd  (%eax), %xmm5, %xmm3
3085
3086// CHECK: vpermilpd  (%eax), %ymm5, %ymm1
3087// CHECK: encoding: [0xc4,0xe2,0x55,0x0d,0x08]
3088          vpermilpd  (%eax), %ymm5, %ymm1
3089
3090// CHECK: vperm2f128  $7, %ymm2, %ymm5, %ymm1
3091// CHECK: encoding: [0xc4,0xe3,0x55,0x06,0xca,0x07]
3092          vperm2f128  $7, %ymm2, %ymm5, %ymm1
3093
3094// CHECK: vperm2f128  $7, (%eax), %ymm5, %ymm1
3095// CHECK: encoding: [0xc4,0xe3,0x55,0x06,0x08,0x07]
3096          vperm2f128  $7, (%eax), %ymm5, %ymm1
3097
3098// CHECK: vzeroall
3099// CHECK: encoding: [0xc5,0xfc,0x77]
3100          vzeroall
3101
3102// CHECK: vzeroupper
3103// CHECK: encoding: [0xc5,0xf8,0x77]
3104          vzeroupper
3105
3106// CHECK: vcvtsd2si  %xmm4, %ecx
3107// CHECK: encoding: [0xc5,0xfb,0x2d,0xcc]
3108          vcvtsd2si  %xmm4, %ecx
3109
3110// CHECK: vcvtsd2si  (%ecx), %ecx
3111// CHECK: encoding: [0xc5,0xfb,0x2d,0x09]
3112          vcvtsd2si  (%ecx), %ecx
3113
3114// CHECK: vcvtsi2sdl  (%ebp), %xmm0, %xmm7
3115// CHECK: encoding: [0xc5,0xfb,0x2a,0x7d,0x00]
3116          vcvtsi2sdl  (%ebp), %xmm0, %xmm7
3117
3118// CHECK: vcvtsi2sdl  (%esp), %xmm0, %xmm7
3119// CHECK: encoding: [0xc5,0xfb,0x2a,0x3c,0x24]
3120          vcvtsi2sdl  (%esp), %xmm0, %xmm7
3121
3122// CHECK: vlddqu  (%eax), %ymm2
3123// CHECK: encoding: [0xc5,0xff,0xf0,0x10]
3124          vlddqu  (%eax), %ymm2
3125
3126// CHECK: vmovddup  %ymm2, %ymm5
3127// CHECK: encoding: [0xc5,0xff,0x12,0xea]
3128          vmovddup  %ymm2, %ymm5
3129
3130// CHECK: vmovddup  (%eax), %ymm2
3131// CHECK: encoding: [0xc5,0xff,0x12,0x10]
3132          vmovddup  (%eax), %ymm2
3133
3134// CHECK: vmovdqa  %ymm2, %ymm5
3135// CHECK: encoding: [0xc5,0xfd,0x6f,0xea]
3136          vmovdqa  %ymm2, %ymm5
3137
3138// CHECK: vmovdqa  %ymm2, (%eax)
3139// CHECK: encoding: [0xc5,0xfd,0x7f,0x10]
3140          vmovdqa  %ymm2, (%eax)
3141
3142// CHECK: vmovdqa  (%eax), %ymm2
3143// CHECK: encoding: [0xc5,0xfd,0x6f,0x10]
3144          vmovdqa  (%eax), %ymm2
3145
3146// CHECK: vmovdqu  %ymm2, %ymm5
3147// CHECK: encoding: [0xc5,0xfe,0x6f,0xea]
3148          vmovdqu  %ymm2, %ymm5
3149
3150// CHECK: vmovdqu  %ymm2, (%eax)
3151// CHECK: encoding: [0xc5,0xfe,0x7f,0x10]
3152          vmovdqu  %ymm2, (%eax)
3153
3154// CHECK: vmovdqu  (%eax), %ymm2
3155// CHECK: encoding: [0xc5,0xfe,0x6f,0x10]
3156          vmovdqu  (%eax), %ymm2
3157
3158// CHECK: vmovshdup  %ymm2, %ymm5
3159// CHECK: encoding: [0xc5,0xfe,0x16,0xea]
3160          vmovshdup  %ymm2, %ymm5
3161
3162// CHECK: vmovshdup  (%eax), %ymm2
3163// CHECK: encoding: [0xc5,0xfe,0x16,0x10]
3164          vmovshdup  (%eax), %ymm2
3165
3166// CHECK: vmovsldup  %ymm2, %ymm5
3167// CHECK: encoding: [0xc5,0xfe,0x12,0xea]
3168          vmovsldup  %ymm2, %ymm5
3169
3170// CHECK: vmovsldup  (%eax), %ymm2
3171// CHECK: encoding: [0xc5,0xfe,0x12,0x10]
3172          vmovsldup  (%eax), %ymm2
3173
3174// CHECK: vptest  %ymm2, %ymm5
3175// CHECK: encoding: [0xc4,0xe2,0x7d,0x17,0xea]
3176          vptest  %ymm2, %ymm5
3177
3178// CHECK: vptest  (%eax), %ymm2
3179// CHECK: encoding: [0xc4,0xe2,0x7d,0x17,0x10]
3180          vptest  (%eax), %ymm2
3181
3182// CHECK: vroundpd  $7, %ymm5, %ymm1
3183// CHECK: encoding: [0xc4,0xe3,0x7d,0x09,0xcd,0x07]
3184          vroundpd  $7, %ymm5, %ymm1
3185
3186// CHECK: vroundpd  $7, (%eax), %ymm5
3187// CHECK: encoding: [0xc4,0xe3,0x7d,0x09,0x28,0x07]
3188          vroundpd  $7, (%eax), %ymm5
3189
3190// CHECK: vroundps  $7, %ymm5, %ymm1
3191// CHECK: encoding: [0xc4,0xe3,0x7d,0x08,0xcd,0x07]
3192          vroundps  $7, %ymm5, %ymm1
3193
3194// CHECK: vroundps  $7, (%eax), %ymm5
3195// CHECK: encoding: [0xc4,0xe3,0x7d,0x08,0x28,0x07]
3196          vroundps  $7, (%eax), %ymm5
3197
3198// CHECK: vshufpd  $7, %ymm2, %ymm5, %ymm1
3199// CHECK: encoding: [0xc5,0xd5,0xc6,0xca,0x07]
3200          vshufpd  $7, %ymm2, %ymm5, %ymm1
3201
3202// CHECK: vshufpd  $7, (%eax), %ymm5, %ymm1
3203// CHECK: encoding: [0xc5,0xd5,0xc6,0x08,0x07]
3204          vshufpd  $7, (%eax), %ymm5, %ymm1
3205
3206// CHECK: vshufps  $7, %ymm2, %ymm5, %ymm1
3207// CHECK: encoding: [0xc5,0xd4,0xc6,0xca,0x07]
3208          vshufps  $7, %ymm2, %ymm5, %ymm1
3209
3210// CHECK: vshufps  $7, (%eax), %ymm5, %ymm1
3211// CHECK: encoding: [0xc5,0xd4,0xc6,0x08,0x07]
3212          vshufps  $7, (%eax), %ymm5, %ymm1
3213
3214// CHECK: vtestpd  %xmm2, %xmm5
3215// CHECK: encoding: [0xc4,0xe2,0x79,0x0f,0xea]
3216          vtestpd  %xmm2, %xmm5
3217
3218// CHECK: vtestpd  %ymm2, %ymm5
3219// CHECK: encoding: [0xc4,0xe2,0x7d,0x0f,0xea]
3220          vtestpd  %ymm2, %ymm5
3221
3222// CHECK: vtestpd  (%eax), %xmm2
3223// CHECK: encoding: [0xc4,0xe2,0x79,0x0f,0x10]
3224          vtestpd  (%eax), %xmm2
3225
3226// CHECK: vtestpd  (%eax), %ymm2
3227// CHECK: encoding: [0xc4,0xe2,0x7d,0x0f,0x10]
3228          vtestpd  (%eax), %ymm2
3229
3230// CHECK: vtestps  %xmm2, %xmm5
3231// CHECK: encoding: [0xc4,0xe2,0x79,0x0e,0xea]
3232          vtestps  %xmm2, %xmm5
3233
3234// CHECK: vtestps  %ymm2, %ymm5
3235// CHECK: encoding: [0xc4,0xe2,0x7d,0x0e,0xea]
3236          vtestps  %ymm2, %ymm5
3237
3238// CHECK: vtestps  (%eax), %xmm2
3239// CHECK: encoding: [0xc4,0xe2,0x79,0x0e,0x10]
3240          vtestps  (%eax), %xmm2
3241
3242// CHECK: vtestps  (%eax), %ymm2
3243// CHECK: encoding: [0xc4,0xe2,0x7d,0x0e,0x10]
3244          vtestps  (%eax), %ymm2
3245
3246// CHECK: vblendvpd  %ymm0, 57005(%eax,%eiz), %ymm1, %ymm2
3247// CHECK: encoding: [0xc4,0xe3,0x75,0x4b,0x94,0x20,0xad,0xde,0x00,0x00,0x00]
3248          vblendvpd  %ymm0, 0xdead(%eax,%eiz), %ymm1, %ymm2
3249
3250
3251
3252// CHECK: vpclmulqdq  $17, %xmm2, %xmm5, %xmm1
3253// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0xca,0x11]
3254          vpclmulhqhqdq %xmm2, %xmm5, %xmm1
3255
3256// CHECK: vpclmulqdq  $17, (%eax), %xmm5, %xmm3
3257// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0x18,0x11]
3258          vpclmulhqhqdq (%eax), %xmm5, %xmm3
3259
3260// CHECK: vpclmulqdq  $1, %xmm2, %xmm5, %xmm1
3261// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0xca,0x01]
3262          vpclmulhqlqdq %xmm2, %xmm5, %xmm1
3263
3264// CHECK: vpclmulqdq  $1, (%eax), %xmm5, %xmm3
3265// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0x18,0x01]
3266          vpclmulhqlqdq (%eax), %xmm5, %xmm3
3267
3268// CHECK: vpclmulqdq  $16, %xmm2, %xmm5, %xmm1
3269// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0xca,0x10]
3270          vpclmullqhqdq %xmm2, %xmm5, %xmm1
3271
3272// CHECK: vpclmulqdq  $16, (%eax), %xmm5, %xmm3
3273// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0x18,0x10]
3274          vpclmullqhqdq (%eax), %xmm5, %xmm3
3275
3276// CHECK: vpclmulqdq  $0, %xmm2, %xmm5, %xmm1
3277// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0xca,0x00]
3278          vpclmullqlqdq %xmm2, %xmm5, %xmm1
3279
3280// CHECK: vpclmulqdq  $0, (%eax), %xmm5, %xmm3
3281// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0x18,0x00]
3282          vpclmullqlqdq (%eax), %xmm5, %xmm3
3283
3284// CHECK: vpclmulqdq  $17, %xmm2, %xmm5, %xmm1
3285// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0xca,0x11]
3286          vpclmulqdq  $17, %xmm2, %xmm5, %xmm1
3287
3288// CHECK: vpclmulqdq  $17, (%eax), %xmm5, %xmm3
3289// CHECK: encoding: [0xc4,0xe3,0x51,0x44,0x18,0x11]
3290          vpclmulqdq  $17, (%eax), %xmm5, %xmm3
3291
3292// rdar://9795008
3293// These instructions take a mask not an 8-bit sign extended value.
3294// CHECK: vblendps $129, %ymm2, %ymm5, %ymm1
3295          vblendps $0x81, %ymm2, %ymm5, %ymm1
3296// CHECK: vblendps $129, (%eax), %ymm5, %ymm1
3297          vblendps $0x81, (%eax), %ymm5, %ymm1
3298// CHECK: vblendpd $129, %ymm2, %ymm5, %ymm1
3299          vblendpd $0x81, %ymm2, %ymm5, %ymm1
3300// CHECK: vblendpd $129, (%eax), %ymm5, %ymm1
3301          vblendpd $0x81, (%eax), %ymm5, %ymm1
3302// CHECK: vpblendw $129, %xmm2, %xmm5, %xmm1
3303          vpblendw $0x81, %xmm2, %xmm5, %xmm1
3304// CHECK: vmpsadbw $129, %xmm2, %xmm5, %xmm1
3305          vmpsadbw $0x81, %xmm2, %xmm5, %xmm1
3306// CHECK: vdpps $129, %ymm2, %ymm5, %ymm1
3307          vdpps $0x81, %ymm2, %ymm5, %ymm1
3308// CHECK: vdpps $129, (%eax), %ymm5, %ymm1
3309          vdpps $0x81, (%eax), %ymm5, %ymm1
3310// CHECK: vdppd $129, %xmm2, %xmm5, %xmm1
3311          vdppd $0x81, %xmm2, %xmm5, %xmm1
3312// CHECK: vinsertps $129, %xmm3, %xmm2, %xmm1
3313          vinsertps $0x81, %xmm3, %xmm2, %xmm1
3314