xref: /aosp_15_r20/external/llvm/test/MC/X86/avx512vbmi-encoding.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker// RUN: llvm-mc -triple x86_64-unknown-unknown -mcpu=skx -mattr=+avx512vl -mattr=+avx512vbmi --show-encoding %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker     vpermb %xmm28, %xmm29, %xmm30 {%k7}
4*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %xmm28, %xmm29, %xmm30 {%k7}
5*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x07,0x8d,0xf4]
6*9880d681SAndroid Build Coastguard Worker
7*9880d681SAndroid Build Coastguard Worker     vpermb %xmm28, %xmm29, %xmm30 {%k7} {z}
8*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %xmm28, %xmm29, %xmm30 {%k7} {z}
9*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x87,0x8d,0xf4]
10*9880d681SAndroid Build Coastguard Worker
11*9880d681SAndroid Build Coastguard Worker     vpermb (%rcx), %xmm29, %xmm30
12*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb (%rcx), %xmm29, %xmm30
13*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x8d,0x31]
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard Worker     vpermb 0x123(%rax,%r14,8), %xmm29, %xmm30
16*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 291(%rax,%r14,8), %xmm29, %xmm30
17*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x00,0x8d,0xb4,0xf0,0x23,0x01,0x00,0x00]
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard Worker     vpermb 0x7f0(%rdx), %xmm29, %xmm30
20*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 2032(%rdx), %xmm29, %xmm30
21*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x8d,0x72,0x7f]
22*9880d681SAndroid Build Coastguard Worker
23*9880d681SAndroid Build Coastguard Worker     vpermb 0x800(%rdx), %xmm29, %xmm30
24*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 2048(%rdx), %xmm29, %xmm30
25*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x8d,0xb2,0x00,0x08,0x00,0x00]
26*9880d681SAndroid Build Coastguard Worker
27*9880d681SAndroid Build Coastguard Worker     vpermb -0x800(%rdx), %xmm29, %xmm30
28*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb -2048(%rdx), %xmm29, %xmm30
29*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x8d,0x72,0x80]
30*9880d681SAndroid Build Coastguard Worker
31*9880d681SAndroid Build Coastguard Worker     vpermb -0x810(%rdx), %xmm29, %xmm30
32*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb -2064(%rdx), %xmm29, %xmm30
33*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x8d,0xb2,0xf0,0xf7,0xff,0xff]
34*9880d681SAndroid Build Coastguard Worker
35*9880d681SAndroid Build Coastguard Worker     vpermb %ymm28, %ymm29, %ymm30
36*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %ymm28, %ymm29, %ymm30
37*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x20,0x8d,0xf4]
38*9880d681SAndroid Build Coastguard Worker
39*9880d681SAndroid Build Coastguard Worker     vpermb %ymm28, %ymm29, %ymm30 {%k7}
40*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %ymm28, %ymm29, %ymm30 {%k7}
41*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x27,0x8d,0xf4]
42*9880d681SAndroid Build Coastguard Worker
43*9880d681SAndroid Build Coastguard Worker     vpermb %ymm28, %ymm29, %ymm30 {%k7} {z}
44*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %ymm28, %ymm29, %ymm30 {%k7} {z}
45*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0xa7,0x8d,0xf4]
46*9880d681SAndroid Build Coastguard Worker
47*9880d681SAndroid Build Coastguard Worker     vpermb (%rcx), %ymm29, %ymm30
48*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb (%rcx), %ymm29, %ymm30
49*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x8d,0x31]
50*9880d681SAndroid Build Coastguard Worker
51*9880d681SAndroid Build Coastguard Worker     vpermb 0x123(%rax,%r14,8), %ymm29, %ymm30
52*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 291(%rax,%r14,8), %ymm29, %ymm30
53*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x20,0x8d,0xb4,0xf0,0x23,0x01,0x00,0x00]
54*9880d681SAndroid Build Coastguard Worker
55*9880d681SAndroid Build Coastguard Worker     vpermb 0xfe0(%rdx), %ymm29, %ymm30
56*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 4064(%rdx), %ymm29, %ymm30
57*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x8d,0x72,0x7f]
58*9880d681SAndroid Build Coastguard Worker
59*9880d681SAndroid Build Coastguard Worker     vpermb 0x1000(%rdx), %ymm29, %ymm30
60*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 4096(%rdx), %ymm29, %ymm30
61*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x8d,0xb2,0x00,0x10,0x00,0x00]
62*9880d681SAndroid Build Coastguard Worker
63*9880d681SAndroid Build Coastguard Worker     vpermb -0x1000(%rdx), %ymm29, %ymm30
64*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb -4096(%rdx), %ymm29, %ymm30
65*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x8d,0x72,0x80]
66*9880d681SAndroid Build Coastguard Worker
67*9880d681SAndroid Build Coastguard Worker     vpermb -0x1020(%rdx), %ymm29, %ymm30
68*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb -4128(%rdx), %ymm29, %ymm30
69*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x8d,0xb2,0xe0,0xef,0xff,0xff]
70*9880d681SAndroid Build Coastguard Worker
71*9880d681SAndroid Build Coastguard Worker     vpermb %xmm28, %xmm29, %xmm30
72*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %xmm28, %xmm29, %xmm30
73*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x00,0x8d,0xf4]
74*9880d681SAndroid Build Coastguard Worker
75*9880d681SAndroid Build Coastguard Worker     vpermb 0x1234(%rax,%r14,8), %xmm29, %xmm30
76*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 4660(%rax,%r14,8), %xmm29, %xmm30
77*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x00,0x8d,0xb4,0xf0,0x34,0x12,0x00,0x00]
78*9880d681SAndroid Build Coastguard Worker
79*9880d681SAndroid Build Coastguard Worker     vpermb 0x1234(%rax,%r14,8), %ymm29, %ymm30
80*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 4660(%rax,%r14,8), %ymm29, %ymm30
81*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x20,0x8d,0xb4,0xf0,0x34,0x12,0x00,0x00]
82*9880d681SAndroid Build Coastguard Worker
83*9880d681SAndroid Build Coastguard Worker     vpermb %zmm28, %zmm29, %zmm30
84*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %zmm28, %zmm29, %zmm30
85*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x40,0x8d,0xf4]
86*9880d681SAndroid Build Coastguard Worker
87*9880d681SAndroid Build Coastguard Worker     vpermb %zmm28, %zmm29, %zmm30 {%k7}
88*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %zmm28, %zmm29, %zmm30 {%k7}
89*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x47,0x8d,0xf4]
90*9880d681SAndroid Build Coastguard Worker
91*9880d681SAndroid Build Coastguard Worker     vpermb %zmm28, %zmm29, %zmm30 {%k7} {z}
92*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb %zmm28, %zmm29, %zmm30 {%k7} {z}
93*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0xc7,0x8d,0xf4]
94*9880d681SAndroid Build Coastguard Worker
95*9880d681SAndroid Build Coastguard Worker     vpermb (%rcx), %zmm29, %zmm30
96*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb (%rcx), %zmm29, %zmm30
97*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x8d,0x31]
98*9880d681SAndroid Build Coastguard Worker
99*9880d681SAndroid Build Coastguard Worker     vpermb 0x123(%rax,%r14,8), %zmm29, %zmm30
100*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 291(%rax,%r14,8), %zmm29, %zmm30
101*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x40,0x8d,0xb4,0xf0,0x23,0x01,0x00,0x00]
102*9880d681SAndroid Build Coastguard Worker
103*9880d681SAndroid Build Coastguard Worker     vpermb 0x1fc0(%rdx), %zmm29, %zmm30
104*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 8128(%rdx), %zmm29, %zmm30
105*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x8d,0x72,0x7f]
106*9880d681SAndroid Build Coastguard Worker
107*9880d681SAndroid Build Coastguard Worker     vpermb 0x2000(%rdx), %zmm29, %zmm30
108*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 8192(%rdx), %zmm29, %zmm30
109*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x8d,0xb2,0x00,0x20,0x00,0x00]
110*9880d681SAndroid Build Coastguard Worker
111*9880d681SAndroid Build Coastguard Worker     vpermb -0x2000(%rdx), %zmm29, %zmm30
112*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb -8192(%rdx), %zmm29, %zmm30
113*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x8d,0x72,0x80]
114*9880d681SAndroid Build Coastguard Worker
115*9880d681SAndroid Build Coastguard Worker     vpermb -0x2040(%rdx), %zmm29, %zmm30
116*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb -8256(%rdx), %zmm29, %zmm30
117*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x8d,0xb2,0xc0,0xdf,0xff,0xff]
118*9880d681SAndroid Build Coastguard Worker
119*9880d681SAndroid Build Coastguard Worker     vpermb 0x1234(%rax,%r14,8), %zmm29, %zmm30
120*9880d681SAndroid Build Coastguard Worker//CHECK: vpermb 4660(%rax,%r14,8), %zmm29, %zmm30
121*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x40,0x8d,0xb4,0xf0,0x34,0x12,0x00,0x00]
122*9880d681SAndroid Build Coastguard Worker
123*9880d681SAndroid Build Coastguard Worker     vpermt2b %xmm28, %xmm29, %xmm30
124*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %xmm28, %xmm29, %xmm30
125*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x00,0x7d,0xf4]
126*9880d681SAndroid Build Coastguard Worker
127*9880d681SAndroid Build Coastguard Worker     vpermt2b %xmm28, %xmm29, %xmm30 {%k7}
128*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %xmm28, %xmm29, %xmm30 {%k7}
129*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x07,0x7d,0xf4]
130*9880d681SAndroid Build Coastguard Worker
131*9880d681SAndroid Build Coastguard Worker     vpermt2b %xmm28, %xmm29, %xmm30 {%k7} {z}
132*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %xmm28, %xmm29, %xmm30 {%k7} {z}
133*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x87,0x7d,0xf4]
134*9880d681SAndroid Build Coastguard Worker
135*9880d681SAndroid Build Coastguard Worker     vpermt2b (%rcx), %xmm29, %xmm30
136*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b (%rcx), %xmm29, %xmm30
137*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x7d,0x31]
138*9880d681SAndroid Build Coastguard Worker
139*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x123(%rax,%r14,8), %xmm29, %xmm30
140*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 291(%rax,%r14,8), %xmm29, %xmm30
141*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x00,0x7d,0xb4,0xf0,0x23,0x01,0x00,0x00]
142*9880d681SAndroid Build Coastguard Worker
143*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x7f0(%rdx), %xmm29, %xmm30
144*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 2032(%rdx), %xmm29, %xmm30
145*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x7d,0x72,0x7f]
146*9880d681SAndroid Build Coastguard Worker
147*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x800(%rdx), %xmm29, %xmm30
148*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 2048(%rdx), %xmm29, %xmm30
149*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x7d,0xb2,0x00,0x08,0x00,0x00]
150*9880d681SAndroid Build Coastguard Worker
151*9880d681SAndroid Build Coastguard Worker     vpermt2b -0x800(%rdx), %xmm29, %xmm30
152*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b -2048(%rdx), %xmm29, %xmm30
153*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x7d,0x72,0x80]
154*9880d681SAndroid Build Coastguard Worker
155*9880d681SAndroid Build Coastguard Worker     vpermt2b -0x810(%rdx), %xmm29, %xmm30
156*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b -2064(%rdx), %xmm29, %xmm30
157*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x7d,0xb2,0xf0,0xf7,0xff,0xff]
158*9880d681SAndroid Build Coastguard Worker
159*9880d681SAndroid Build Coastguard Worker     vpermt2b %ymm28, %ymm29, %ymm30
160*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %ymm28, %ymm29, %ymm30
161*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x20,0x7d,0xf4]
162*9880d681SAndroid Build Coastguard Worker
163*9880d681SAndroid Build Coastguard Worker     vpermt2b %ymm28, %ymm29, %ymm30 {%k7}
164*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %ymm28, %ymm29, %ymm30 {%k7}
165*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x27,0x7d,0xf4]
166*9880d681SAndroid Build Coastguard Worker
167*9880d681SAndroid Build Coastguard Worker     vpermt2b %ymm28, %ymm29, %ymm30 {%k7} {z}
168*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %ymm28, %ymm29, %ymm30 {%k7} {z}
169*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0xa7,0x7d,0xf4]
170*9880d681SAndroid Build Coastguard Worker
171*9880d681SAndroid Build Coastguard Worker     vpermt2b (%rcx), %ymm29, %ymm30
172*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b (%rcx), %ymm29, %ymm30
173*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x7d,0x31]
174*9880d681SAndroid Build Coastguard Worker
175*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x123(%rax,%r14,8), %ymm29, %ymm30
176*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 291(%rax,%r14,8), %ymm29, %ymm30
177*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x20,0x7d,0xb4,0xf0,0x23,0x01,0x00,0x00]
178*9880d681SAndroid Build Coastguard Worker
179*9880d681SAndroid Build Coastguard Worker     vpermt2b 0xfe0(%rdx), %ymm29, %ymm30
180*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 4064(%rdx), %ymm29, %ymm30
181*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x7d,0x72,0x7f]
182*9880d681SAndroid Build Coastguard Worker
183*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x1000(%rdx), %ymm29, %ymm30
184*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 4096(%rdx), %ymm29, %ymm30
185*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x7d,0xb2,0x00,0x10,0x00,0x00]
186*9880d681SAndroid Build Coastguard Worker
187*9880d681SAndroid Build Coastguard Worker     vpermt2b -0x1000(%rdx), %ymm29, %ymm30
188*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b -4096(%rdx), %ymm29, %ymm30
189*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x7d,0x72,0x80]
190*9880d681SAndroid Build Coastguard Worker
191*9880d681SAndroid Build Coastguard Worker     vpermt2b -0x1020(%rdx), %ymm29, %ymm30
192*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b -4128(%rdx), %ymm29, %ymm30
193*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x7d,0xb2,0xe0,0xef,0xff,0xff]
194*9880d681SAndroid Build Coastguard Worker
195*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x1234(%rax,%r14,8), %xmm29, %xmm30
196*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 4660(%rax,%r14,8), %xmm29, %xmm30
197*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x00,0x7d,0xb4,0xf0,0x34,0x12,0x00,0x00]
198*9880d681SAndroid Build Coastguard Worker
199*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x1234(%rax,%r14,8), %ymm29, %ymm30
200*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 4660(%rax,%r14,8), %ymm29, %ymm30
201*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x20,0x7d,0xb4,0xf0,0x34,0x12,0x00,0x00]
202*9880d681SAndroid Build Coastguard Worker
203*9880d681SAndroid Build Coastguard Worker     vpermt2b %zmm28, %zmm29, %zmm30
204*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %zmm28, %zmm29, %zmm30
205*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x40,0x7d,0xf4]
206*9880d681SAndroid Build Coastguard Worker
207*9880d681SAndroid Build Coastguard Worker     vpermt2b %zmm28, %zmm29, %zmm30 {%k7}
208*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %zmm28, %zmm29, %zmm30 {%k7}
209*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x47,0x7d,0xf4]
210*9880d681SAndroid Build Coastguard Worker
211*9880d681SAndroid Build Coastguard Worker     vpermt2b %zmm28, %zmm29, %zmm30 {%k7} {z}
212*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b %zmm28, %zmm29, %zmm30 {%k7} {z}
213*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0xc7,0x7d,0xf4]
214*9880d681SAndroid Build Coastguard Worker
215*9880d681SAndroid Build Coastguard Worker     vpermt2b (%rcx), %zmm29, %zmm30
216*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b (%rcx), %zmm29, %zmm30
217*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x7d,0x31]
218*9880d681SAndroid Build Coastguard Worker
219*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x123(%rax,%r14,8), %zmm29, %zmm30
220*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 291(%rax,%r14,8), %zmm29, %zmm30
221*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x40,0x7d,0xb4,0xf0,0x23,0x01,0x00,0x00]
222*9880d681SAndroid Build Coastguard Worker
223*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x1fc0(%rdx), %zmm29, %zmm30
224*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 8128(%rdx), %zmm29, %zmm30
225*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x7d,0x72,0x7f]
226*9880d681SAndroid Build Coastguard Worker
227*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x2000(%rdx), %zmm29, %zmm30
228*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 8192(%rdx), %zmm29, %zmm30
229*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x7d,0xb2,0x00,0x20,0x00,0x00]
230*9880d681SAndroid Build Coastguard Worker
231*9880d681SAndroid Build Coastguard Worker     vpermt2b -0x2000(%rdx), %zmm29, %zmm30
232*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b -8192(%rdx), %zmm29, %zmm30
233*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x7d,0x72,0x80]
234*9880d681SAndroid Build Coastguard Worker
235*9880d681SAndroid Build Coastguard Worker     vpermt2b -0x2040(%rdx), %zmm29, %zmm30
236*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b -8256(%rdx), %zmm29, %zmm30
237*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x7d,0xb2,0xc0,0xdf,0xff,0xff]
238*9880d681SAndroid Build Coastguard Worker
239*9880d681SAndroid Build Coastguard Worker     vpermt2b 0x1234(%rax,%r14,8), %zmm29, %zmm30
240*9880d681SAndroid Build Coastguard Worker//CHECK: vpermt2b 4660(%rax,%r14,8), %zmm29, %zmm30
241*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x40,0x7d,0xb4,0xf0,0x34,0x12,0x00,0x00]
242*9880d681SAndroid Build Coastguard Worker
243*9880d681SAndroid Build Coastguard Worker     vpermi2b %xmm28, %xmm29, %xmm30
244*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %xmm28, %xmm29, %xmm30
245*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x00,0x75,0xf4]
246*9880d681SAndroid Build Coastguard Worker
247*9880d681SAndroid Build Coastguard Worker     vpermi2b %xmm28, %xmm29, %xmm30 {%k7}
248*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %xmm28, %xmm29, %xmm30 {%k7}
249*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x07,0x75,0xf4]
250*9880d681SAndroid Build Coastguard Worker
251*9880d681SAndroid Build Coastguard Worker     vpermi2b %xmm28, %xmm29, %xmm30 {%k7} {z}
252*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %xmm28, %xmm29, %xmm30 {%k7} {z}
253*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x87,0x75,0xf4]
254*9880d681SAndroid Build Coastguard Worker
255*9880d681SAndroid Build Coastguard Worker     vpermi2b (%rcx), %xmm29, %xmm30
256*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b (%rcx), %xmm29, %xmm30
257*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x75,0x31]
258*9880d681SAndroid Build Coastguard Worker
259*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x123(%rax,%r14,8), %xmm29, %xmm30
260*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 291(%rax,%r14,8), %xmm29, %xmm30
261*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x00,0x75,0xb4,0xf0,0x23,0x01,0x00,0x00]
262*9880d681SAndroid Build Coastguard Worker
263*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x7f0(%rdx), %xmm29, %xmm30
264*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 2032(%rdx), %xmm29, %xmm30
265*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x75,0x72,0x7f]
266*9880d681SAndroid Build Coastguard Worker
267*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x800(%rdx), %xmm29, %xmm30
268*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 2048(%rdx), %xmm29, %xmm30
269*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x75,0xb2,0x00,0x08,0x00,0x00]
270*9880d681SAndroid Build Coastguard Worker
271*9880d681SAndroid Build Coastguard Worker     vpermi2b -0x800(%rdx), %xmm29, %xmm30
272*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b -2048(%rdx), %xmm29, %xmm30
273*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x75,0x72,0x80]
274*9880d681SAndroid Build Coastguard Worker
275*9880d681SAndroid Build Coastguard Worker     vpermi2b -0x810(%rdx), %xmm29, %xmm30
276*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b -2064(%rdx), %xmm29, %xmm30
277*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x00,0x75,0xb2,0xf0,0xf7,0xff,0xff]
278*9880d681SAndroid Build Coastguard Worker
279*9880d681SAndroid Build Coastguard Worker     vpermi2b %ymm28, %ymm29, %ymm30
280*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %ymm28, %ymm29, %ymm30
281*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x20,0x75,0xf4]
282*9880d681SAndroid Build Coastguard Worker
283*9880d681SAndroid Build Coastguard Worker     vpermi2b %ymm28, %ymm29, %ymm30 {%k7}
284*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %ymm28, %ymm29, %ymm30 {%k7}
285*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x27,0x75,0xf4]
286*9880d681SAndroid Build Coastguard Worker
287*9880d681SAndroid Build Coastguard Worker     vpermi2b %ymm28, %ymm29, %ymm30 {%k7} {z}
288*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %ymm28, %ymm29, %ymm30 {%k7} {z}
289*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0xa7,0x75,0xf4]
290*9880d681SAndroid Build Coastguard Worker
291*9880d681SAndroid Build Coastguard Worker     vpermi2b (%rcx), %ymm29, %ymm30
292*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b (%rcx), %ymm29, %ymm30
293*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x75,0x31]
294*9880d681SAndroid Build Coastguard Worker
295*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x123(%rax,%r14,8), %ymm29, %ymm30
296*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 291(%rax,%r14,8), %ymm29, %ymm30
297*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x20,0x75,0xb4,0xf0,0x23,0x01,0x00,0x00]
298*9880d681SAndroid Build Coastguard Worker
299*9880d681SAndroid Build Coastguard Worker     vpermi2b 0xfe0(%rdx), %ymm29, %ymm30
300*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 4064(%rdx), %ymm29, %ymm30
301*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x75,0x72,0x7f]
302*9880d681SAndroid Build Coastguard Worker
303*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x1000(%rdx), %ymm29, %ymm30
304*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 4096(%rdx), %ymm29, %ymm30
305*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x75,0xb2,0x00,0x10,0x00,0x00]
306*9880d681SAndroid Build Coastguard Worker
307*9880d681SAndroid Build Coastguard Worker     vpermi2b -0x1000(%rdx), %ymm29, %ymm30
308*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b -4096(%rdx), %ymm29, %ymm30
309*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x75,0x72,0x80]
310*9880d681SAndroid Build Coastguard Worker
311*9880d681SAndroid Build Coastguard Worker     vpermi2b -0x1020(%rdx), %ymm29, %ymm30
312*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b -4128(%rdx), %ymm29, %ymm30
313*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x20,0x75,0xb2,0xe0,0xef,0xff,0xff]
314*9880d681SAndroid Build Coastguard Worker
315*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x1234(%rax,%r14,8), %xmm29, %xmm30
316*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 4660(%rax,%r14,8), %xmm29, %xmm30
317*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x00,0x75,0xb4,0xf0,0x34,0x12,0x00,0x00]
318*9880d681SAndroid Build Coastguard Worker
319*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x1234(%rax,%r14,8), %ymm29, %ymm30
320*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 4660(%rax,%r14,8), %ymm29, %ymm30
321*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x20,0x75,0xb4,0xf0,0x34,0x12,0x00,0x00]
322*9880d681SAndroid Build Coastguard Worker
323*9880d681SAndroid Build Coastguard Worker     vpermi2b %zmm28, %zmm29, %zmm30
324*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %zmm28, %zmm29, %zmm30
325*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x40,0x75,0xf4]
326*9880d681SAndroid Build Coastguard Worker
327*9880d681SAndroid Build Coastguard Worker     vpermi2b %zmm28, %zmm29, %zmm30 {%k7}
328*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %zmm28, %zmm29, %zmm30 {%k7}
329*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0x47,0x75,0xf4]
330*9880d681SAndroid Build Coastguard Worker
331*9880d681SAndroid Build Coastguard Worker     vpermi2b %zmm28, %zmm29, %zmm30 {%k7} {z}
332*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b %zmm28, %zmm29, %zmm30 {%k7} {z}
333*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x15,0xc7,0x75,0xf4]
334*9880d681SAndroid Build Coastguard Worker
335*9880d681SAndroid Build Coastguard Worker     vpermi2b (%rcx), %zmm29, %zmm30
336*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b (%rcx), %zmm29, %zmm30
337*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x75,0x31]
338*9880d681SAndroid Build Coastguard Worker
339*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x123(%rax,%r14,8), %zmm29, %zmm30
340*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 291(%rax,%r14,8), %zmm29, %zmm30
341*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x40,0x75,0xb4,0xf0,0x23,0x01,0x00,0x00]
342*9880d681SAndroid Build Coastguard Worker
343*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x1fc0(%rdx), %zmm29, %zmm30
344*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 8128(%rdx), %zmm29, %zmm30
345*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x75,0x72,0x7f]
346*9880d681SAndroid Build Coastguard Worker
347*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x2000(%rdx), %zmm29, %zmm30
348*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 8192(%rdx), %zmm29, %zmm30
349*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x75,0xb2,0x00,0x20,0x00,0x00]
350*9880d681SAndroid Build Coastguard Worker
351*9880d681SAndroid Build Coastguard Worker     vpermi2b -0x2000(%rdx), %zmm29, %zmm30
352*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b -8192(%rdx), %zmm29, %zmm30
353*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x75,0x72,0x80]
354*9880d681SAndroid Build Coastguard Worker
355*9880d681SAndroid Build Coastguard Worker     vpermi2b -0x2040(%rdx), %zmm29, %zmm30
356*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b -8256(%rdx), %zmm29, %zmm30
357*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x15,0x40,0x75,0xb2,0xc0,0xdf,0xff,0xff]
358*9880d681SAndroid Build Coastguard Worker
359*9880d681SAndroid Build Coastguard Worker     vpermi2b 0x1234(%rax,%r14,8), %zmm29, %zmm30
360*9880d681SAndroid Build Coastguard Worker//CHECK: vpermi2b 4660(%rax,%r14,8), %zmm29, %zmm30
361*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x15,0x40,0x75,0xb4,0xf0,0x34,0x12,0x00,0x00]
362*9880d681SAndroid Build Coastguard Worker
363*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %xmm28, %xmm29, %xmm30
364*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %xmm28, %xmm29, %xmm30
365*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x00,0x83,0xf4]
366*9880d681SAndroid Build Coastguard Worker
367*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %xmm28, %xmm29, %xmm30 {%k7}
368*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %xmm28, %xmm29, %xmm30 {%k7}
369*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x07,0x83,0xf4]
370*9880d681SAndroid Build Coastguard Worker
371*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %xmm28, %xmm29, %xmm30 {%k7} {z}
372*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %xmm28, %xmm29, %xmm30 {%k7} {z}
373*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x87,0x83,0xf4]
374*9880d681SAndroid Build Coastguard Worker
375*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb (%rcx), %xmm29, %xmm30
376*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb (%rcx), %xmm29, %xmm30
377*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x00,0x83,0x31]
378*9880d681SAndroid Build Coastguard Worker
379*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x123(%rax,%r14,8), %xmm29, %xmm30
380*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 291(%rax,%r14,8), %xmm29, %xmm30
381*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x95,0x00,0x83,0xb4,0xf0,0x23,0x01,0x00,0x00]
382*9880d681SAndroid Build Coastguard Worker
383*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb (%rcx){1to2}, %xmm29, %xmm30
384*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb (%rcx){1to2}, %xmm29, %xmm30
385*9880d681SAndroid Build Coastguard Worker
386*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x10,0x83,0x31]
387*9880d681SAndroid Build Coastguard Worker
388*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x7f0(%rdx), %xmm29, %xmm30
389*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 2032(%rdx), %xmm29, %xmm30
390*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x00,0x83,0x72,0x7f]
391*9880d681SAndroid Build Coastguard Worker
392*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x800(%rdx), %xmm29, %xmm30
393*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 2048(%rdx), %xmm29, %xmm30
394*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x00,0x83,0xb2,0x00,0x08,0x00,0x00]
395*9880d681SAndroid Build Coastguard Worker
396*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x800(%rdx), %xmm29, %xmm30
397*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -2048(%rdx), %xmm29, %xmm30
398*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x00,0x83,0x72,0x80]
399*9880d681SAndroid Build Coastguard Worker
400*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x810(%rdx), %xmm29, %xmm30
401*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -2064(%rdx), %xmm29, %xmm30
402*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x00,0x83,0xb2,0xf0,0xf7,0xff,0xff]
403*9880d681SAndroid Build Coastguard Worker
404*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x3f8(%rdx){1to2}, %xmm29, %xmm30
405*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 1016(%rdx){1to2}, %xmm29, %xmm30
406*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x10,0x83,0x72,0x7f]
407*9880d681SAndroid Build Coastguard Worker
408*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x400(%rdx){1to2}, %xmm29, %xmm30
409*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 1024(%rdx){1to2}, %xmm29, %xmm30
410*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x10,0x83,0xb2,0x00,0x04,0x00,0x00]
411*9880d681SAndroid Build Coastguard Worker
412*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x400(%rdx){1to2}, %xmm29, %xmm30
413*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -1024(%rdx){1to2}, %xmm29, %xmm30
414*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x10,0x83,0x72,0x80]
415*9880d681SAndroid Build Coastguard Worker
416*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x408(%rdx){1to2}, %xmm29, %xmm30
417*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -1032(%rdx){1to2}, %xmm29, %xmm30
418*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x10,0x83,0xb2,0xf8,0xfb,0xff,0xff]
419*9880d681SAndroid Build Coastguard Worker
420*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %ymm28, %ymm29, %ymm30
421*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %ymm28, %ymm29, %ymm30
422*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x20,0x83,0xf4]
423*9880d681SAndroid Build Coastguard Worker
424*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %ymm28, %ymm29, %ymm30 {%k7}
425*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %ymm28, %ymm29, %ymm30 {%k7}
426*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x27,0x83,0xf4]
427*9880d681SAndroid Build Coastguard Worker
428*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %ymm28, %ymm29, %ymm30 {%k7} {z}
429*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %ymm28, %ymm29, %ymm30 {%k7} {z}
430*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0xa7,0x83,0xf4]
431*9880d681SAndroid Build Coastguard Worker
432*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb (%rcx), %ymm29, %ymm30
433*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb (%rcx), %ymm29, %ymm30
434*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x20,0x83,0x31]
435*9880d681SAndroid Build Coastguard Worker
436*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x123(%rax,%r14,8), %ymm29, %ymm30
437*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 291(%rax,%r14,8), %ymm29, %ymm30
438*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x95,0x20,0x83,0xb4,0xf0,0x23,0x01,0x00,0x00]
439*9880d681SAndroid Build Coastguard Worker
440*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb (%rcx){1to4}, %ymm29, %ymm30
441*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb (%rcx){1to4}, %ymm29, %ymm30
442*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x30,0x83,0x31]
443*9880d681SAndroid Build Coastguard Worker
444*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0xfe0(%rdx), %ymm29, %ymm30
445*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 4064(%rdx), %ymm29, %ymm30
446*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x20,0x83,0x72,0x7f]
447*9880d681SAndroid Build Coastguard Worker
448*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x1000(%rdx), %ymm29, %ymm30
449*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 4096(%rdx), %ymm29, %ymm30
450*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x20,0x83,0xb2,0x00,0x10,0x00,0x00]
451*9880d681SAndroid Build Coastguard Worker
452*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x1000(%rdx), %ymm29, %ymm30
453*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -4096(%rdx), %ymm29, %ymm30
454*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x20,0x83,0x72,0x80]
455*9880d681SAndroid Build Coastguard Worker
456*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x1020(%rdx), %ymm29, %ymm30
457*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -4128(%rdx), %ymm29, %ymm30
458*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x20,0x83,0xb2,0xe0,0xef,0xff,0xff]
459*9880d681SAndroid Build Coastguard Worker
460*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x3f8(%rdx){1to4}, %ymm29, %ymm30
461*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 1016(%rdx){1to4}, %ymm29, %ymm30
462*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x30,0x83,0x72,0x7f]
463*9880d681SAndroid Build Coastguard Worker
464*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x400(%rdx){1to4}, %ymm29, %ymm30
465*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 1024(%rdx){1to4}, %ymm29, %ymm30
466*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x30,0x83,0xb2,0x00,0x04,0x00,0x00]
467*9880d681SAndroid Build Coastguard Worker
468*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x400(%rdx){1to4}, %ymm29, %ymm30
469*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -1024(%rdx){1to4}, %ymm29, %ymm30
470*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x30,0x83,0x72,0x80]
471*9880d681SAndroid Build Coastguard Worker
472*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x408(%rdx){1to4}, %ymm29, %ymm30
473*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -1032(%rdx){1to4}, %ymm29, %ymm30
474*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x30,0x83,0xb2,0xf8,0xfb,0xff,0xff]
475*9880d681SAndroid Build Coastguard Worker
476*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x1234(%rax,%r14,8), %xmm29, %xmm30
477*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 4660(%rax,%r14,8), %xmm29, %xmm30
478*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x95,0x00,0x83,0xb4,0xf0,0x34,0x12,0x00,0x00]
479*9880d681SAndroid Build Coastguard Worker
480*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x1234(%rax,%r14,8), %ymm29, %ymm30
481*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 4660(%rax,%r14,8), %ymm29, %ymm30
482*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x95,0x20,0x83,0xb4,0xf0,0x34,0x12,0x00,0x00]
483*9880d681SAndroid Build Coastguard Worker
484*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %zmm28, %zmm29, %zmm30
485*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %zmm28, %zmm29, %zmm30
486*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x40,0x83,0xf4]
487*9880d681SAndroid Build Coastguard Worker
488*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %zmm28, %zmm29, %zmm30 {%k7}
489*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %zmm28, %zmm29, %zmm30 {%k7}
490*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0x47,0x83,0xf4]
491*9880d681SAndroid Build Coastguard Worker
492*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb %zmm28, %zmm29, %zmm30 {%k7} {z}
493*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb %zmm28, %zmm29, %zmm30 {%k7} {z}
494*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x02,0x95,0xc7,0x83,0xf4]
495*9880d681SAndroid Build Coastguard Worker
496*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb (%rcx), %zmm29, %zmm30
497*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb (%rcx), %zmm29, %zmm30
498*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x40,0x83,0x31]
499*9880d681SAndroid Build Coastguard Worker
500*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x123(%rax,%r14,8), %zmm29, %zmm30
501*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 291(%rax,%r14,8), %zmm29, %zmm30
502*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x95,0x40,0x83,0xb4,0xf0,0x23,0x01,0x00,0x00]
503*9880d681SAndroid Build Coastguard Worker
504*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb (%rcx){1to8}, %zmm29, %zmm30
505*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb (%rcx){1to8}, %zmm29, %zmm30
506*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x50,0x83,0x31]
507*9880d681SAndroid Build Coastguard Worker
508*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x1fc0(%rdx), %zmm29, %zmm30
509*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 8128(%rdx), %zmm29, %zmm30
510*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x40,0x83,0x72,0x7f]
511*9880d681SAndroid Build Coastguard Worker
512*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x2000(%rdx), %zmm29, %zmm30
513*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 8192(%rdx), %zmm29, %zmm30
514*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x40,0x83,0xb2,0x00,0x20,0x00,0x00]
515*9880d681SAndroid Build Coastguard Worker
516*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x2000(%rdx), %zmm29, %zmm30
517*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -8192(%rdx), %zmm29, %zmm30
518*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x40,0x83,0x72,0x80]
519*9880d681SAndroid Build Coastguard Worker
520*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x2040(%rdx), %zmm29, %zmm30
521*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -8256(%rdx), %zmm29, %zmm30
522*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x40,0x83,0xb2,0xc0,0xdf,0xff,0xff]
523*9880d681SAndroid Build Coastguard Worker
524*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x3f8(%rdx){1to8}, %zmm29, %zmm30
525*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 1016(%rdx){1to8}, %zmm29, %zmm30
526*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x50,0x83,0x72,0x7f]
527*9880d681SAndroid Build Coastguard Worker
528*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x400(%rdx){1to8}, %zmm29, %zmm30
529*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 1024(%rdx){1to8}, %zmm29, %zmm30
530*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x50,0x83,0xb2,0x00,0x04,0x00,0x00]
531*9880d681SAndroid Build Coastguard Worker
532*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x400(%rdx){1to8}, %zmm29, %zmm30
533*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -1024(%rdx){1to8}, %zmm29, %zmm30
534*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x50,0x83,0x72,0x80]
535*9880d681SAndroid Build Coastguard Worker
536*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb -0x408(%rdx){1to8}, %zmm29, %zmm30
537*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb -1032(%rdx){1to8}, %zmm29, %zmm30
538*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x62,0x95,0x50,0x83,0xb2,0xf8,0xfb,0xff,0xff]
539*9880d681SAndroid Build Coastguard Worker
540*9880d681SAndroid Build Coastguard Worker  vpmultishiftqb 0x1234(%rax,%r14,8), %zmm29, %zmm30
541*9880d681SAndroid Build Coastguard Worker//CHECK: vpmultishiftqb 4660(%rax,%r14,8), %zmm29, %zmm30
542*9880d681SAndroid Build Coastguard Worker//CHECK: encoding: [0x62,0x22,0x95,0x40,0x83,0xb4,0xf0,0x34,0x12,0x00,0x00]
543*9880d681SAndroid Build Coastguard Worker
544