[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / X86 / x86-32-avx512vp2intersect-att.s
blob49aca2a32126d377f12c991ca0208bcbb48d8fdf
1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s
3 // CHECK: vp2intersectq %zmm2, %zmm1, %k0
4 // CHECK: encoding: [0x62,0xf2,0xf7,0x48,0x68,0xc2]
5 vp2intersectq %zmm2, %zmm1, %k0
7 // CHECK: vp2intersectq (%edi), %zmm1, %k0
8 // CHECK: encoding: [0x62,0xf2,0xf7,0x48,0x68,0x07]
9 vp2intersectq (%edi), %zmm1, %k0
11 // CHECK: vp2intersectq (%edi){1to8}, %zmm1, %k0
12 // CHECK: encoding: [0x62,0xf2,0xf7,0x58,0x68,0x07]
13 vp2intersectq (%edi){1to8}, %zmm1, %k0
15 // CHECK: vp2intersectq %zmm2, %zmm1, %k0
16 // CHECK: encoding: [0x62,0xf2,0xf7,0x48,0x68,0xc2]
17 vp2intersectq %zmm2, %zmm1, %k1
19 // CHECK: vp2intersectq (%edi), %zmm1, %k0
20 // CHECK: encoding: [0x62,0xf2,0xf7,0x48,0x68,0x07]
21 vp2intersectq (%edi), %zmm1, %k1
23 // CHECK: vp2intersectq (%edi){1to8}, %zmm1, %k0
24 // CHECK: encoding: [0x62,0xf2,0xf7,0x58,0x68,0x07]
25 vp2intersectq (%edi){1to8}, %zmm1, %k1
27 // CHECK: vp2intersectq %zmm7, %zmm4, %k6
28 // CHECK: encoding: [0x62,0xf2,0xdf,0x48,0x68,0xf7]
29 vp2intersectq %zmm7, %zmm4, %k6
31 // CHECK: vp2intersectq (%esi), %zmm4, %k6
32 // CHECK: encoding: [0x62,0xf2,0xdf,0x48,0x68,0x36]
33 vp2intersectq (%esi), %zmm4, %k6
35 // CHECK: vp2intersectq (%esi){1to8}, %zmm4, %k6
36 // CHECK: encoding: [0x62,0xf2,0xdf,0x58,0x68,0x36]
37 vp2intersectq (%esi){1to8}, %zmm4, %k6
39 // CHECK: vp2intersectq %zmm7, %zmm4, %k6
40 // CHECK: encoding: [0x62,0xf2,0xdf,0x48,0x68,0xf7]
41 vp2intersectq %zmm7, %zmm4, %k7
43 // CHECK: vp2intersectq (%esi), %zmm4, %k6
44 // CHECK: encoding: [0x62,0xf2,0xdf,0x48,0x68,0x36]
45 vp2intersectq (%esi), %zmm4, %k7
47 // CHECK: vp2intersectq (%esi){1to8}, %zmm4, %k6
48 // CHECK: encoding: [0x62,0xf2,0xdf,0x58,0x68,0x36]
49 vp2intersectq (%esi){1to8}, %zmm4, %k7
51 // CHECK: vp2intersectq %ymm2, %ymm1, %k0
52 // CHECK: encoding: [0x62,0xf2,0xf7,0x28,0x68,0xc2]
53 vp2intersectq %ymm2, %ymm1, %k0
55 // CHECK: vp2intersectq (%edi), %ymm1, %k0
56 // CHECK: encoding: [0x62,0xf2,0xf7,0x28,0x68,0x07]
57 vp2intersectq (%edi), %ymm1, %k0
59 // CHECK: vp2intersectq (%edi){1to4}, %ymm1, %k0
60 // CHECK: encoding: [0x62,0xf2,0xf7,0x38,0x68,0x07]
61 vp2intersectq (%edi){1to4}, %ymm1, %k0
63 // CHECK: vp2intersectq %ymm2, %ymm1, %k0
64 // CHECK: encoding: [0x62,0xf2,0xf7,0x28,0x68,0xc2]
65 vp2intersectq %ymm2, %ymm1, %k1
67 // CHECK: vp2intersectq (%edi), %ymm1, %k0
68 // CHECK: encoding: [0x62,0xf2,0xf7,0x28,0x68,0x07]
69 vp2intersectq (%edi), %ymm1, %k1
71 // CHECK: vp2intersectq (%edi){1to4}, %ymm1, %k0
72 // CHECK: encoding: [0x62,0xf2,0xf7,0x38,0x68,0x07]
73 vp2intersectq (%edi){1to4}, %ymm1, %k1
75 // CHECK: vp2intersectq %ymm7, %ymm4, %k6
76 // CHECK: encoding: [0x62,0xf2,0xdf,0x28,0x68,0xf7]
77 vp2intersectq %ymm7, %ymm4, %k6
79 // CHECK: vp2intersectq (%esi), %ymm4, %k6
80 // CHECK: encoding: [0x62,0xf2,0xdf,0x28,0x68,0x36]
81 vp2intersectq (%esi), %ymm4, %k6
83 // CHECK: vp2intersectq (%esi){1to4}, %ymm4, %k6
84 // CHECK: encoding: [0x62,0xf2,0xdf,0x38,0x68,0x36]
85 vp2intersectq (%esi){1to4}, %ymm4, %k6
87 // CHECK: vp2intersectq %ymm7, %ymm4, %k6
88 // CHECK: encoding: [0x62,0xf2,0xdf,0x28,0x68,0xf7]
89 vp2intersectq %ymm7, %ymm4, %k7
91 // CHECK: vp2intersectq (%esi), %ymm4, %k6
92 // CHECK: encoding: [0x62,0xf2,0xdf,0x28,0x68,0x36]
93 vp2intersectq (%esi), %ymm4, %k7
95 // CHECK: vp2intersectq %xmm2, %xmm1, %k0
96 // CHECK: encoding: [0x62,0xf2,0xf7,0x08,0x68,0xc2]
97 vp2intersectq %xmm2, %xmm1, %k0
99 // CHECK: vp2intersectq (%edi), %xmm1, %k0
100 // CHECK: encoding: [0x62,0xf2,0xf7,0x08,0x68,0x07]
101 vp2intersectq (%edi), %xmm1, %k0
103 // CHECK: vp2intersectq (%edi){1to2}, %xmm1, %k0
104 // CHECK: encoding: [0x62,0xf2,0xf7,0x18,0x68,0x07]
105 vp2intersectq (%edi){1to2}, %xmm1, %k0
107 // CHECK: vp2intersectq %xmm2, %xmm1, %k0
108 // CHECK: encoding: [0x62,0xf2,0xf7,0x08,0x68,0xc2]
109 vp2intersectq %xmm2, %xmm1, %k1
111 // CHECK: vp2intersectq (%edi), %xmm1, %k0
112 // CHECK: encoding: [0x62,0xf2,0xf7,0x08,0x68,0x07]
113 vp2intersectq (%edi), %xmm1, %k1
115 // CHECK: vp2intersectq %xmm7, %xmm4, %k6
116 // CHECK: encoding: [0x62,0xf2,0xdf,0x08,0x68,0xf7]
117 vp2intersectq %xmm7, %xmm4, %k6
119 // CHECK: vp2intersectq (%esi), %xmm4, %k6
120 // CHECK: encoding: [0x62,0xf2,0xdf,0x08,0x68,0x36]
121 vp2intersectq (%esi), %xmm4, %k6
123 // CHECK: vp2intersectq %xmm7, %xmm4, %k6
124 // CHECK: encoding: [0x62,0xf2,0xdf,0x08,0x68,0xf7]
125 vp2intersectq %xmm7, %xmm4, %k7
127 // CHECK: vp2intersectq (%esi), %xmm4, %k6
128 // CHECK: encoding: [0x62,0xf2,0xdf,0x08,0x68,0x36]
129 vp2intersectq (%esi), %xmm4, %k7
131 // CHECK: vp2intersectd %zmm2, %zmm1, %k0
132 // CHECK: encoding: [0x62,0xf2,0x77,0x48,0x68,0xc2]
133 vp2intersectd %zmm2, %zmm1, %k0
135 // CHECK: vp2intersectd (%edi), %zmm1, %k0
136 // CHECK: encoding: [0x62,0xf2,0x77,0x48,0x68,0x07]
137 vp2intersectd (%edi), %zmm1, %k0
139 // CHECK: vp2intersectd %zmm2, %zmm1, %k0
140 // CHECK: encoding: [0x62,0xf2,0x77,0x48,0x68,0xc2]
141 vp2intersectd %zmm2, %zmm1, %k1
143 // CHECK: vp2intersectd (%edi), %zmm1, %k0
144 // CHECK: encoding: [0x62,0xf2,0x77,0x48,0x68,0x07]
145 vp2intersectd (%edi), %zmm1, %k1
147 // CHECK: vp2intersectd %zmm7, %zmm4, %k6
148 // CHECK: encoding: [0x62,0xf2,0x5f,0x48,0x68,0xf7]
149 vp2intersectd %zmm7, %zmm4, %k6
151 // CHECK: vp2intersectd (%esi), %zmm4, %k6
152 // CHECK: encoding: [0x62,0xf2,0x5f,0x48,0x68,0x36]
153 vp2intersectd (%esi), %zmm4, %k6
155 // CHECK: vp2intersectd %zmm7, %zmm4, %k6
156 // CHECK: encoding: [0x62,0xf2,0x5f,0x48,0x68,0xf7]
157 vp2intersectd %zmm7, %zmm4, %k7
159 // CHECK: vp2intersectd (%esi), %zmm4, %k6
160 // CHECK: encoding: [0x62,0xf2,0x5f,0x48,0x68,0x36]
161 vp2intersectd (%esi), %zmm4, %k7
163 // CHECK: vp2intersectd %ymm2, %ymm1, %k0
164 // CHECK: encoding: [0x62,0xf2,0x77,0x28,0x68,0xc2]
165 vp2intersectd %ymm2, %ymm1, %k0
167 // CHECK: vp2intersectd (%edi), %ymm1, %k0
168 // CHECK: encoding: [0x62,0xf2,0x77,0x28,0x68,0x07]
169 vp2intersectd (%edi), %ymm1, %k0
171 // CHECK: vp2intersectd %ymm2, %ymm1, %k0
172 // CHECK: encoding: [0x62,0xf2,0x77,0x28,0x68,0xc2]
173 vp2intersectd %ymm2, %ymm1, %k1
175 // CHECK: vp2intersectd (%edi), %ymm1, %k0
176 // CHECK: encoding: [0x62,0xf2,0x77,0x28,0x68,0x07]
177 vp2intersectd (%edi), %ymm1, %k1
179 // CHECK: vp2intersectd %ymm7, %ymm4, %k6
180 // CHECK: encoding: [0x62,0xf2,0x5f,0x28,0x68,0xf7]
181 vp2intersectd %ymm7, %ymm4, %k6
183 // CHECK: vp2intersectd (%esi), %ymm4, %k6
184 // CHECK: encoding: [0x62,0xf2,0x5f,0x28,0x68,0x36]
185 vp2intersectd (%esi), %ymm4, %k6
187 // CHECK: vp2intersectd %ymm7, %ymm4, %k6
188 // CHECK: encoding: [0x62,0xf2,0x5f,0x28,0x68,0xf7]
189 vp2intersectd %ymm7, %ymm4, %k7
191 // CHECK: vp2intersectd (%esi), %ymm4, %k6
192 // CHECK: encoding: [0x62,0xf2,0x5f,0x28,0x68,0x36]
193 vp2intersectd (%esi), %ymm4, %k7
195 // CHECK: vp2intersectd %xmm2, %xmm1, %k0
196 // CHECK: encoding: [0x62,0xf2,0x77,0x08,0x68,0xc2]
197 vp2intersectd %xmm2, %xmm1, %k0
199 // CHECK: vp2intersectd (%edi), %xmm1, %k0
200 // CHECK: encoding: [0x62,0xf2,0x77,0x08,0x68,0x07]
201 vp2intersectd (%edi), %xmm1, %k0
203 // CHECK: vp2intersectd %xmm2, %xmm1, %k0
204 // CHECK: encoding: [0x62,0xf2,0x77,0x08,0x68,0xc2]
205 vp2intersectd %xmm2, %xmm1, %k1
207 // CHECK: vp2intersectd (%edi), %xmm1, %k0
208 // CHECK: encoding: [0x62,0xf2,0x77,0x08,0x68,0x07]
209 vp2intersectd (%edi), %xmm1, %k1
211 // CHECK: vp2intersectd %xmm7, %xmm4, %k6
212 // CHECK: encoding: [0x62,0xf2,0x5f,0x08,0x68,0xf7]
213 vp2intersectd %xmm7, %xmm4, %k6
215 // CHECK: vp2intersectd (%esi), %xmm4, %k6
216 // CHECK: encoding: [0x62,0xf2,0x5f,0x08,0x68,0x36]
217 vp2intersectd (%esi), %xmm4, %k6
219 // CHECK: vp2intersectd %xmm7, %xmm4, %k6
220 // CHECK: encoding: [0x62,0xf2,0x5f,0x08,0x68,0xf7]
221 vp2intersectd %xmm7, %xmm4, %k7
223 // CHECK: vp2intersectd (%esi), %xmm4, %k6
224 // CHECK: encoding: [0x62,0xf2,0x5f,0x08,0x68,0x36]
225 vp2intersectd (%esi), %xmm4, %k7