1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
| // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
// CHECK: vpblendmb %zmm25, %zmm18, %zmm17
// CHECK: encoding: [0x62,0x82,0x6d,0x40,0x66,0xc9]
vpblendmb %zmm25, %zmm18, %zmm17
// CHECK: vpblendmb %zmm25, %zmm18, %zmm17 {%k5}
// CHECK: encoding: [0x62,0x82,0x6d,0x45,0x66,0xc9]
vpblendmb %zmm25, %zmm18, %zmm17 {%k5}
// CHECK: vpblendmb %zmm25, %zmm18, %zmm17 {%k5} {z}
// CHECK: encoding: [0x62,0x82,0x6d,0xc5,0x66,0xc9]
vpblendmb %zmm25, %zmm18, %zmm17 {%k5} {z}
// CHECK: vpblendmb %zmm25, %zmm18, %zmm17 {%k5} {z}
// CHECK: encoding: [0x62,0x82,0x6d,0xc5,0x66,0xc9]
vpblendmb %zmm25, %zmm18, %zmm17 {z} {%k5}
// CHECK: vpblendmb (%rcx), %zmm18, %zmm17
// CHECK: encoding: [0x62,0xe2,0x6d,0x40,0x66,0x09]
vpblendmb (%rcx), %zmm18, %zmm17
// CHECK: vpblendmb 291(%rax,%r14,8), %zmm18, %zmm17
// CHECK: encoding: [0x62,0xa2,0x6d,0x40,0x66,0x8c,0xf0,0x23,0x01,0x00,0x00]
vpblendmb 291(%rax,%r14,8), %zmm18, %zmm17
// CHECK: vpblendmb 8128(%rdx), %zmm18, %zmm17
// CHECK: encoding: [0x62,0xe2,0x6d,0x40,0x66,0x4a,0x7f]
vpblendmb 8128(%rdx), %zmm18, %zmm17
// CHECK: vpblendmb 8192(%rdx), %zmm18, %zmm17
// CHECK: encoding: [0x62,0xe2,0x6d,0x40,0x66,0x8a,0x00,0x20,0x00,0x00]
vpblendmb 8192(%rdx), %zmm18, %zmm17
// CHECK: vpblendmb -8192(%rdx), %zmm18, %zmm17
// CHECK: encoding: [0x62,0xe2,0x6d,0x40,0x66,0x4a,0x80]
vpblendmb -8192(%rdx), %zmm18, %zmm17
// CHECK: vpblendmb -8256(%rdx), %zmm18, %zmm17
// CHECK: encoding: [0x62,0xe2,0x6d,0x40,0x66,0x8a,0xc0,0xdf,0xff,0xff]
vpblendmb -8256(%rdx), %zmm18, %zmm17
// CHECK: vpblendmw %zmm17, %zmm20, %zmm26
// CHECK: encoding: [0x62,0x22,0xdd,0x40,0x66,0xd1]
vpblendmw %zmm17, %zmm20, %zmm26
// CHECK: vpblendmw %zmm17, %zmm20, %zmm26 {%k7}
// CHECK: encoding: [0x62,0x22,0xdd,0x47,0x66,0xd1]
vpblendmw %zmm17, %zmm20, %zmm26 {%k7}
// CHECK: vpblendmw %zmm17, %zmm20, %zmm26 {%k7} {z}
// CHECK: encoding: [0x62,0x22,0xdd,0xc7,0x66,0xd1]
vpblendmw %zmm17, %zmm20, %zmm26 {%k7} {z}
// CHECK: vpblendmw (%rcx), %zmm20, %zmm26
// CHECK: encoding: [0x62,0x62,0xdd,0x40,0x66,0x11]
vpblendmw (%rcx), %zmm20, %zmm26
// CHECK: vpblendmw 291(%rax,%r14,8), %zmm20, %zmm26
// CHECK: encoding: [0x62,0x22,0xdd,0x40,0x66,0x94,0xf0,0x23,0x01,0x00,0x00]
vpblendmw 291(%rax,%r14,8), %zmm20, %zmm26
// CHECK: vpblendmw 8128(%rdx), %zmm20, %zmm26
// CHECK: encoding: [0x62,0x62,0xdd,0x40,0x66,0x52,0x7f]
vpblendmw 8128(%rdx), %zmm20, %zmm26
// CHECK: vpblendmw 8192(%rdx), %zmm20, %zmm26
// CHECK: encoding: [0x62,0x62,0xdd,0x40,0x66,0x92,0x00,0x20,0x00,0x00]
vpblendmw 8192(%rdx), %zmm20, %zmm26
// CHECK: vpblendmw -8192(%rdx), %zmm20, %zmm26
// CHECK: encoding: [0x62,0x62,0xdd,0x40,0x66,0x52,0x80]
vpblendmw -8192(%rdx), %zmm20, %zmm26
// CHECK: vpblendmw -8256(%rdx), %zmm20, %zmm26
// CHECK: encoding: [0x62,0x62,0xdd,0x40,0x66,0x92,0xc0,0xdf,0xff,0xff]
vpblendmw -8256(%rdx), %zmm20, %zmm26
// CHECK: vptestmb %zmm19, %zmm17, %k5
// CHECK: encoding: [0x62,0xb2,0x75,0x40,0x26,0xeb]
vptestmb %zmm19, %zmm17, %k5
// CHECK: vptestmb %zmm19, %zmm17, %k5 {%k3}
// CHECK: encoding: [0x62,0xb2,0x75,0x43,0x26,0xeb]
vptestmb %zmm19, %zmm17, %k5 {%k3}
// CHECK: vptestmb (%rcx), %zmm17, %k5
// CHECK: encoding: [0x62,0xf2,0x75,0x40,0x26,0x29]
vptestmb (%rcx), %zmm17, %k5
// CHECK: vptestmb 291(%rax,%r14,8), %zmm17, %k5
// CHECK: encoding: [0x62,0xb2,0x75,0x40,0x26,0xac,0xf0,0x23,0x01,0x00,0x00]
vptestmb 291(%rax,%r14,8), %zmm17, %k5
// CHECK: vptestmb 8128(%rdx), %zmm17, %k5
// CHECK: encoding: [0x62,0xf2,0x75,0x40,0x26,0x6a,0x7f]
vptestmb 8128(%rdx), %zmm17, %k5
// CHECK: vptestmb 8192(%rdx), %zmm17, %k5
// CHECK: encoding: [0x62,0xf2,0x75,0x40,0x26,0xaa,0x00,0x20,0x00,0x00]
vptestmb 8192(%rdx), %zmm17, %k5
// CHECK: vptestmb -8192(%rdx), %zmm17, %k5
// CHECK: encoding: [0x62,0xf2,0x75,0x40,0x26,0x6a,0x80]
vptestmb -8192(%rdx), %zmm17, %k5
// CHECK: vptestmb -8256(%rdx), %zmm17, %k5
// CHECK: encoding: [0x62,0xf2,0x75,0x40,0x26,0xaa,0xc0,0xdf,0xff,0xff]
vptestmb -8256(%rdx), %zmm17, %k5
// CHECK: vptestmw %zmm19, %zmm29, %k4
// CHECK: encoding: [0x62,0xb2,0x95,0x40,0x26,0xe3]
vptestmw %zmm19, %zmm29, %k4
// CHECK: vptestmw %zmm19, %zmm29, %k4 {%k2}
// CHECK: encoding: [0x62,0xb2,0x95,0x42,0x26,0xe3]
vptestmw %zmm19, %zmm29, %k4 {%k2}
// CHECK: vptestmw (%rcx), %zmm29, %k4
// CHECK: encoding: [0x62,0xf2,0x95,0x40,0x26,0x21]
vptestmw (%rcx), %zmm29, %k4
// CHECK: vptestmw 291(%rax,%r14,8), %zmm29, %k4
// CHECK: encoding: [0x62,0xb2,0x95,0x40,0x26,0xa4,0xf0,0x23,0x01,0x00,0x00]
vptestmw 291(%rax,%r14,8), %zmm29, %k4
// CHECK: vptestmw 8128(%rdx), %zmm29, %k4
// CHECK: encoding: [0x62,0xf2,0x95,0x40,0x26,0x62,0x7f]
vptestmw 8128(%rdx), %zmm29, %k4
// CHECK: vptestmw 8192(%rdx), %zmm29, %k4
// CHECK: encoding: [0x62,0xf2,0x95,0x40,0x26,0xa2,0x00,0x20,0x00,0x00]
vptestmw 8192(%rdx), %zmm29, %k4
// CHECK: vptestmw -8192(%rdx), %zmm29, %k4
// CHECK: encoding: [0x62,0xf2,0x95,0x40,0x26,0x62,0x80]
vptestmw -8192(%rdx), %zmm29, %k4
// CHECK: vptestmw -8256(%rdx), %zmm29, %k4
// CHECK: encoding: [0x62,0xf2,0x95,0x40,0x26,0xa2,0xc0,0xdf,0xff,0xff]
vptestmw -8256(%rdx), %zmm29, %k4
// CHECK: vptestnmb %zmm23, %zmm24, %k2
// CHECK: encoding: [0x62,0xb2,0x3e,0x40,0x26,0xd7]
vptestnmb %zmm23, %zmm24, %k2
// CHECK: vptestnmb %zmm23, %zmm24, %k2 {%k7}
// CHECK: encoding: [0x62,0xb2,0x3e,0x47,0x26,0xd7]
vptestnmb %zmm23, %zmm24, %k2 {%k7}
// CHECK: vptestnmb (%rcx), %zmm24, %k2
// CHECK: encoding: [0x62,0xf2,0x3e,0x40,0x26,0x11]
vptestnmb (%rcx), %zmm24, %k2
// CHECK: vptestnmb 291(%rax,%r14,8), %zmm24, %k2
// CHECK: encoding: [0x62,0xb2,0x3e,0x40,0x26,0x94,0xf0,0x23,0x01,0x00,0x00]
vptestnmb 291(%rax,%r14,8), %zmm24, %k2
// CHECK: vptestnmb 8128(%rdx), %zmm24, %k2
// CHECK: encoding: [0x62,0xf2,0x3e,0x40,0x26,0x52,0x7f]
vptestnmb 8128(%rdx), %zmm24, %k2
// CHECK: vptestnmb 8192(%rdx), %zmm24, %k2
// CHECK: encoding: [0x62,0xf2,0x3e,0x40,0x26,0x92,0x00,0x20,0x00,0x00]
vptestnmb 8192(%rdx), %zmm24, %k2
// CHECK: vptestnmb -8192(%rdx), %zmm24, %k2
// CHECK: encoding: [0x62,0xf2,0x3e,0x40,0x26,0x52,0x80]
vptestnmb -8192(%rdx), %zmm24, %k2
// CHECK: vptestnmb -8256(%rdx), %zmm24, %k2
// CHECK: encoding: [0x62,0xf2,0x3e,0x40,0x26,0x92,0xc0,0xdf,0xff,0xff]
vptestnmb -8256(%rdx), %zmm24, %k2
// CHECK: vptestnmw %zmm27, %zmm18, %k4
// CHECK: encoding: [0x62,0x92,0xee,0x40,0x26,0xe3]
vptestnmw %zmm27, %zmm18, %k4
// CHECK: vptestnmw %zmm27, %zmm18, %k4 {%k5}
// CHECK: encoding: [0x62,0x92,0xee,0x45,0x26,0xe3]
vptestnmw %zmm27, %zmm18, %k4 {%k5}
// CHECK: vptestnmw (%rcx), %zmm18, %k4
// CHECK: encoding: [0x62,0xf2,0xee,0x40,0x26,0x21]
vptestnmw (%rcx), %zmm18, %k4
// CHECK: vptestnmw 291(%rax,%r14,8), %zmm18, %k4
// CHECK: encoding: [0x62,0xb2,0xee,0x40,0x26,0xa4,0xf0,0x23,0x01,0x00,0x00]
vptestnmw 291(%rax,%r14,8), %zmm18, %k4
// CHECK: vptestnmw 8128(%rdx), %zmm18, %k4
// CHECK: encoding: [0x62,0xf2,0xee,0x40,0x26,0x62,0x7f]
vptestnmw 8128(%rdx), %zmm18, %k4
// CHECK: vptestnmw 8192(%rdx), %zmm18, %k4
// CHECK: encoding: [0x62,0xf2,0xee,0x40,0x26,0xa2,0x00,0x20,0x00,0x00]
vptestnmw 8192(%rdx), %zmm18, %k4
// CHECK: vptestnmw -8192(%rdx), %zmm18, %k4
// CHECK: encoding: [0x62,0xf2,0xee,0x40,0x26,0x62,0x80]
vptestnmw -8192(%rdx), %zmm18, %k4
// CHECK: vptestnmw -8256(%rdx), %zmm18, %k4
// CHECK: encoding: [0x62,0xf2,0xee,0x40,0x26,0xa2,0xc0,0xdf,0xff,0xff]
vptestnmw -8256(%rdx), %zmm18, %k4
// CHECK: vptestnmb %zmm19, %zmm27, %k3
// CHECK: encoding: [0x62,0xb2,0x26,0x40,0x26,0xdb]
vptestnmb %zmm19, %zmm27, %k3
// CHECK: vptestnmb %zmm19, %zmm27, %k3 {%k2}
// CHECK: encoding: [0x62,0xb2,0x26,0x42,0x26,0xdb]
vptestnmb %zmm19, %zmm27, %k3 {%k2}
// CHECK: vptestnmb (%rcx), %zmm27, %k3
// CHECK: encoding: [0x62,0xf2,0x26,0x40,0x26,0x19]
vptestnmb (%rcx), %zmm27, %k3
// CHECK: vptestnmb 4660(%rax,%r14,8), %zmm27, %k3
// CHECK: encoding: [0x62,0xb2,0x26,0x40,0x26,0x9c,0xf0,0x34,0x12,0x00,0x00]
vptestnmb 4660(%rax,%r14,8), %zmm27, %k3
// CHECK: vptestnmb 8128(%rdx), %zmm27, %k3
// CHECK: encoding: [0x62,0xf2,0x26,0x40,0x26,0x5a,0x7f]
vptestnmb 8128(%rdx), %zmm27, %k3
// CHECK: vptestnmb 8192(%rdx), %zmm27, %k3
// CHECK: encoding: [0x62,0xf2,0x26,0x40,0x26,0x9a,0x00,0x20,0x00,0x00]
vptestnmb 8192(%rdx), %zmm27, %k3
// CHECK: vptestnmb -8192(%rdx), %zmm27, %k3
// CHECK: encoding: [0x62,0xf2,0x26,0x40,0x26,0x5a,0x80]
vptestnmb -8192(%rdx), %zmm27, %k3
// CHECK: vptestnmb -8256(%rdx), %zmm27, %k3
// CHECK: encoding: [0x62,0xf2,0x26,0x40,0x26,0x9a,0xc0,0xdf,0xff,0xff]
vptestnmb -8256(%rdx), %zmm27, %k3
// CHECK: vptestnmw %zmm21, %zmm17, %k2
// CHECK: encoding: [0x62,0xb2,0xf6,0x40,0x26,0xd5]
vptestnmw %zmm21, %zmm17, %k2
// CHECK: vptestnmw %zmm21, %zmm17, %k2 {%k4}
// CHECK: encoding: [0x62,0xb2,0xf6,0x44,0x26,0xd5]
vptestnmw %zmm21, %zmm17, %k2 {%k4}
// CHECK: vptestnmw (%rcx), %zmm17, %k2
// CHECK: encoding: [0x62,0xf2,0xf6,0x40,0x26,0x11]
vptestnmw (%rcx), %zmm17, %k2
// CHECK: vptestnmw 4660(%rax,%r14,8), %zmm17, %k2
// CHECK: encoding: [0x62,0xb2,0xf6,0x40,0x26,0x94,0xf0,0x34,0x12,0x00,0x00]
vptestnmw 4660(%rax,%r14,8), %zmm17, %k2
// CHECK: vptestnmw 8128(%rdx), %zmm17, %k2
// CHECK: encoding: [0x62,0xf2,0xf6,0x40,0x26,0x52,0x7f]
vptestnmw 8128(%rdx), %zmm17, %k2
// CHECK: vptestnmw 8192(%rdx), %zmm17, %k2
// CHECK: encoding: [0x62,0xf2,0xf6,0x40,0x26,0x92,0x00,0x20,0x00,0x00]
vptestnmw 8192(%rdx), %zmm17, %k2
// CHECK: vptestnmw -8192(%rdx), %zmm17, %k2
// CHECK: encoding: [0x62,0xf2,0xf6,0x40,0x26,0x52,0x80]
vptestnmw -8192(%rdx), %zmm17, %k2
// CHECK: vptestnmw -8256(%rdx), %zmm17, %k2
// CHECK: encoding: [0x62,0xf2,0xf6,0x40,0x26,0x92,0xc0,0xdf,0xff,0xff]
vptestnmw -8256(%rdx), %zmm17, %k2
// CHECK: vpmovb2m %zmm28, %k5
// CHECK: encoding: [0x62,0x92,0x7e,0x48,0x29,0xec]
vpmovb2m %zmm28, %k5
// CHECK: vpmovw2m %zmm30, %k3
// CHECK: encoding: [0x62,0x92,0xfe,0x48,0x29,0xde]
vpmovw2m %zmm30, %k3
// CHECK: vpmovm2b %k3, %zmm18
// CHECK: encoding: [0x62,0xe2,0x7e,0x48,0x28,0xd3]
vpmovm2b %k3, %zmm18
// CHECK: vpmovm2w %k5, %zmm24
// CHECK: encoding: [0x62,0x62,0xfe,0x48,0x28,0xc5]
vpmovm2w %k5, %zmm24
|