1 // RUN
: llvm-mc
-triple x86_64-unknown-unknown
--show-encoding
%s | FileCheck
%s
4 // CHECK
: vp2intersectq
%zmm2
, %zmm1
, %k0
5 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x48,0x68,0xc2]
6 vp2intersectq
%zmm2
, %zmm1
, %k0
8 // CHECK
: vp2intersectq
(%rdi
), %zmm1
, %k0
9 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x48,0x68,0x07]
10 vp2intersectq
(%rdi
), %zmm1
, %k0
12 // CHECK
: vp2intersectq
(%rdi
){1to8
}, %zmm1
, %k0
13 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x58,0x68,0x07]
14 vp2intersectq
(%rdi
){1to8
}, %zmm1
, %k0
16 // CHECK
: vp2intersectq
%zmm2
, %zmm1
, %k0
17 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x48,0x68,0xc2]
18 vp2intersectq
%zmm2
, %zmm1
, %k1
20 // CHECK
: vp2intersectq
(%rdi
), %zmm1
, %k0
21 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x48,0x68,0x07]
22 vp2intersectq
(%rdi
), %zmm1
, %k1
24 // CHECK
: vp2intersectq
(%rdi
){1to8
}, %zmm1
, %k0
25 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x58,0x68,0x07]
26 vp2intersectq
(%rdi
){1to8
}, %zmm1
, %k1
28 // CHECK
: vp2intersectq
%zmm7
, %zmm9
, %k6
29 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x48,0x68,0xf7]
30 vp2intersectq
%zmm7
, %zmm9
, %k6
32 // CHECK
: vp2intersectq
(%rsi
), %zmm9
, %k6
33 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x48,0x68,0x36]
34 vp2intersectq
(%rsi
), %zmm9
, %k6
36 // CHECK
: vp2intersectq
(%rsi
){1to8
}, %zmm9
, %k6
37 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x58,0x68,0x36]
38 vp2intersectq
(%rsi
){1to8
}, %zmm9
, %k6
40 // CHECK
: vp2intersectq
%zmm7
, %zmm9
, %k6
41 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x48,0x68,0xf7]
42 vp2intersectq
%zmm7
, %zmm9
, %k7
44 // CHECK
: vp2intersectq
(%rsi
), %zmm9
, %k6
45 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x48,0x68,0x36]
46 vp2intersectq
(%rsi
), %zmm9
, %k7
48 // CHECK
: vp2intersectq
(%rsi
){1to8
}, %zmm9
, %k6
49 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x58,0x68,0x36]
50 vp2intersectq
(%rsi
){1to8
}, %zmm9
, %k7
53 // CHECK
: vp2intersectq
%ymm2
, %ymm1
, %k0
54 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x28,0x68,0xc2]
55 vp2intersectq
%ymm2
, %ymm1
, %k0
57 // CHECK
: vp2intersectq
(%rdi
), %ymm1
, %k0
58 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x28,0x68,0x07]
59 vp2intersectq
(%rdi
), %ymm1
, %k0
61 // CHECK
: vp2intersectq
(%rdi
){1to4
}, %ymm1
, %k0
62 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x38,0x68,0x07]
63 vp2intersectq
(%rdi
){1to4
}, %ymm1
, %k0
65 // CHECK
: vp2intersectq
%ymm2
, %ymm1
, %k0
66 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x28,0x68,0xc2]
67 vp2intersectq
%ymm2
, %ymm1
, %k1
69 // CHECK
: vp2intersectq
(%rdi
), %ymm1
, %k0
70 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x28,0x68,0x07]
71 vp2intersectq
(%rdi
), %ymm1
, %k1
73 // CHECK
: vp2intersectq
(%rdi
){1to4
}, %ymm1
, %k0
74 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x38,0x68,0x07]
75 vp2intersectq
(%rdi
){1to4
}, %ymm1
, %k1
77 // CHECK
: vp2intersectq
%ymm7
, %ymm9
, %k6
78 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x28,0x68,0xf7]
79 vp2intersectq
%ymm7
, %ymm9
, %k6
81 // CHECK
: vp2intersectq
(%rsi
), %ymm9
, %k6
82 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x28,0x68,0x36]
83 vp2intersectq
(%rsi
), %ymm9
, %k6
85 // CHECK
: vp2intersectq
(%rsi
){1to4
}, %ymm9
, %k6
86 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x38,0x68,0x36]
87 vp2intersectq
(%rsi
){1to4
}, %ymm9
, %k6
89 // CHECK
: vp2intersectq
%ymm7
, %ymm9
, %k6
90 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x28,0x68,0xf7]
91 vp2intersectq
%ymm7
, %ymm9
, %k7
93 // CHECK
: vp2intersectq
(%rsi
), %ymm9
, %k6
94 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x28,0x68,0x36]
95 vp2intersectq
(%rsi
), %ymm9
, %k7
98 // CHECK
: vp2intersectq
%xmm2
, %xmm1
, %k0
99 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x08,0x68,0xc2]
100 vp2intersectq
%xmm2
, %xmm1
, %k0
102 // CHECK
: vp2intersectq
(%rdi
), %xmm1
, %k0
103 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x08,0x68,0x07]
104 vp2intersectq
(%rdi
), %xmm1
, %k0
106 // CHECK
: vp2intersectq
(%rdi
){1to2
}, %xmm1
, %k0
107 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x18,0x68,0x07]
108 vp2intersectq
(%rdi
){1to2
}, %xmm1
, %k0
110 // CHECK
: vp2intersectq
%xmm2
, %xmm1
, %k0
111 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x08,0x68,0xc2]
112 vp2intersectq
%xmm2
, %xmm1
, %k1
114 // CHECK
: vp2intersectq
(%rdi
), %xmm1
, %k0
115 // CHECK
: encoding
: [0x62,0xf2,0xf7,0x08,0x68,0x07]
116 vp2intersectq
(%rdi
), %xmm1
, %k1
118 // CHECK
: vp2intersectq
%xmm7
, %xmm9
, %k6
119 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x08,0x68,0xf7]
120 vp2intersectq
%xmm7
, %xmm9
, %k6
122 // CHECK
: vp2intersectq
(%rsi
), %xmm9
, %k6
123 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x08,0x68,0x36]
124 vp2intersectq
(%rsi
), %xmm9
, %k6
126 // CHECK
: vp2intersectq
%xmm7
, %xmm9
, %k6
127 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x08,0x68,0xf7]
128 vp2intersectq
%xmm7
, %xmm9
, %k7
130 // CHECK
: vp2intersectq
(%rsi
), %xmm9
, %k6
131 // CHECK
: encoding
: [0x62,0xf2,0xb7,0x08,0x68,0x36]
132 vp2intersectq
(%rsi
), %xmm9
, %k7
135 // CHECK
: vp2intersectd
%zmm2
, %zmm1
, %k0
136 // CHECK
: encoding
: [0x62,0xf2,0x77,0x48,0x68,0xc2]
137 vp2intersectd
%zmm2
, %zmm1
, %k0
139 // CHECK
: vp2intersectd
(%rdi
), %zmm1
, %k0
140 // CHECK
: encoding
: [0x62,0xf2,0x77,0x48,0x68,0x07]
141 vp2intersectd
(%rdi
), %zmm1
, %k0
143 // CHECK
: vp2intersectd
%zmm2
, %zmm1
, %k0
144 // CHECK
: encoding
: [0x62,0xf2,0x77,0x48,0x68,0xc2]
145 vp2intersectd
%zmm2
, %zmm1
, %k1
147 // CHECK
: vp2intersectd
(%rdi
), %zmm1
, %k0
148 // CHECK
: encoding
: [0x62,0xf2,0x77,0x48,0x68,0x07]
149 vp2intersectd
(%rdi
), %zmm1
, %k1
151 // CHECK
: vp2intersectd
%zmm7
, %zmm9
, %k6
152 // CHECK
: encoding
: [0x62,0xf2,0x37,0x48,0x68,0xf7]
153 vp2intersectd
%zmm7
, %zmm9
, %k6
155 // CHECK
: vp2intersectd
(%rsi
), %zmm9
, %k6
156 // CHECK
: encoding
: [0x62,0xf2,0x37,0x48,0x68,0x36]
157 vp2intersectd
(%rsi
), %zmm9
, %k6
159 // CHECK
: vp2intersectd
%zmm7
, %zmm9
, %k6
160 // CHECK
: encoding
: [0x62,0xf2,0x37,0x48,0x68,0xf7]
161 vp2intersectd
%zmm7
, %zmm9
, %k7
163 // CHECK
: vp2intersectd
(%rsi
), %zmm9
, %k6
164 // CHECK
: encoding
: [0x62,0xf2,0x37,0x48,0x68,0x36]
165 vp2intersectd
(%rsi
), %zmm9
, %k7
168 // CHECK
: vp2intersectd
%ymm2
, %ymm1
, %k0
169 // CHECK
: encoding
: [0x62,0xf2,0x77,0x28,0x68,0xc2]
170 vp2intersectd
%ymm2
, %ymm1
, %k0
172 // CHECK
: vp2intersectd
(%rdi
), %ymm1
, %k0
173 // CHECK
: encoding
: [0x62,0xf2,0x77,0x28,0x68,0x07]
174 vp2intersectd
(%rdi
), %ymm1
, %k0
176 // CHECK
: vp2intersectd
%ymm2
, %ymm1
, %k0
177 // CHECK
: encoding
: [0x62,0xf2,0x77,0x28,0x68,0xc2]
178 vp2intersectd
%ymm2
, %ymm1
, %k1
180 // CHECK
: vp2intersectd
(%rdi
), %ymm1
, %k0
181 // CHECK
: encoding
: [0x62,0xf2,0x77,0x28,0x68,0x07]
182 vp2intersectd
(%rdi
), %ymm1
, %k1
184 // CHECK
: vp2intersectd
%ymm7
, %ymm9
, %k6
185 // CHECK
: encoding
: [0x62,0xf2,0x37,0x28,0x68,0xf7]
186 vp2intersectd
%ymm7
, %ymm9
, %k6
188 // CHECK
: vp2intersectd
(%rsi
), %ymm9
, %k6
189 // CHECK
: encoding
: [0x62,0xf2,0x37,0x28,0x68,0x36]
190 vp2intersectd
(%rsi
), %ymm9
, %k6
192 // CHECK
: vp2intersectd
%ymm7
, %ymm9
, %k6
193 // CHECK
: encoding
: [0x62,0xf2,0x37,0x28,0x68,0xf7]
194 vp2intersectd
%ymm7
, %ymm9
, %k7
196 // CHECK
: vp2intersectd
(%rsi
), %ymm9
, %k6
197 // CHECK
: encoding
: [0x62,0xf2,0x37,0x28,0x68,0x36]
198 vp2intersectd
(%rsi
), %ymm9
, %k7
201 // CHECK
: vp2intersectd
%xmm2
, %xmm1
, %k0
202 // CHECK
: encoding
: [0x62,0xf2,0x77,0x08,0x68,0xc2]
203 vp2intersectd
%xmm2
, %xmm1
, %k0
205 // CHECK
: vp2intersectd
(%rdi
), %xmm1
, %k0
206 // CHECK
: encoding
: [0x62,0xf2,0x77,0x08,0x68,0x07]
207 vp2intersectd
(%rdi
), %xmm1
, %k0
209 // CHECK
: vp2intersectd
%xmm2
, %xmm1
, %k0
210 // CHECK
: encoding
: [0x62,0xf2,0x77,0x08,0x68,0xc2]
211 vp2intersectd
%xmm2
, %xmm1
, %k1
213 // CHECK
: vp2intersectd
(%rdi
), %xmm1
, %k0
214 // CHECK
: encoding
: [0x62,0xf2,0x77,0x08,0x68,0x07]
215 vp2intersectd
(%rdi
), %xmm1
, %k1
217 // CHECK
: vp2intersectd
%xmm7
, %xmm9
, %k6
218 // CHECK
: encoding
: [0x62,0xf2,0x37,0x08,0x68,0xf7]
219 vp2intersectd
%xmm7
, %xmm9
, %k6
221 // CHECK
: vp2intersectd
(%rsi
), %xmm9
, %k6
222 // CHECK
: encoding
: [0x62,0xf2,0x37,0x08,0x68,0x36]
223 vp2intersectd
(%rsi
), %xmm9
, %k6
225 // CHECK
: vp2intersectd
%xmm7
, %xmm9
, %k6
226 // CHECK
: encoding
: [0x62,0xf2,0x37,0x08,0x68,0xf7]
227 vp2intersectd
%xmm7
, %xmm9
, %k7
229 // CHECK
: vp2intersectd
(%rsi
), %xmm9
, %k6
230 // CHECK
: encoding
: [0x62,0xf2,0x37,0x08,0x68,0x36]
231 vp2intersectd
(%rsi
), %xmm9
, %k7