Lines Matching refs:shift

8 ; Verify the cost of vector arithmetic shift right instructions.
16 ; SSE2: Found an estimated cost of 12 for instruction: %shift
17 ; SSE41: Found an estimated cost of 12 for instruction: %shift
18 ; AVX: Found an estimated cost of 12 for instruction: %shift
19 ; AVX2: Found an estimated cost of 4 for instruction: %shift
20 ; XOP: Found an estimated cost of 2 for instruction: %shift
21 %shift = ashr <2 x i64> %a, %b
22 ret <2 x i64> %shift
27 ; SSE2: Found an estimated cost of 24 for instruction: %shift
28 ; SSE41: Found an estimated cost of 24 for instruction: %shift
29 ; AVX: Found an estimated cost of 24 for instruction: %shift
30 ; AVX2: Found an estimated cost of 4 for instruction: %shift
31 ; XOP: Found an estimated cost of 4 for instruction: %shift
32 %shift = ashr <4 x i64> %a, %b
33 ret <4 x i64> %shift
38 ; SSE2: Found an estimated cost of 16 for instruction: %shift
39 ; SSE41: Found an estimated cost of 16 for instruction: %shift
40 ; AVX: Found an estimated cost of 16 for instruction: %shift
41 ; AVX2: Found an estimated cost of 1 for instruction: %shift
42 ; XOPAVX: Found an estimated cost of 2 for instruction: %shift
43 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
44 %shift = ashr <4 x i32> %a, %b
45 ret <4 x i32> %shift
50 ; SSE2: Found an estimated cost of 32 for instruction: %shift
51 ; SSE41: Found an estimated cost of 32 for instruction: %shift
52 ; AVX: Found an estimated cost of 32 for instruction: %shift
53 ; AVX2: Found an estimated cost of 1 for instruction: %shift
54 ; XOPAVX: Found an estimated cost of 4 for instruction: %shift
55 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
56 %shift = ashr <8 x i32> %a, %b
57 ret <8 x i32> %shift
62 ; SSE2: Found an estimated cost of 32 for instruction: %shift
63 ; SSE41: Found an estimated cost of 32 for instruction: %shift
64 ; AVX: Found an estimated cost of 32 for instruction: %shift
65 ; AVX2: Found an estimated cost of 32 for instruction: %shift
66 ; XOP: Found an estimated cost of 2 for instruction: %shift
67 %shift = ashr <8 x i16> %a, %b
68 ret <8 x i16> %shift
73 ; SSE2: Found an estimated cost of 64 for instruction: %shift
74 ; SSE41: Found an estimated cost of 64 for instruction: %shift
75 ; AVX: Found an estimated cost of 64 for instruction: %shift
76 ; AVX2: Found an estimated cost of 10 for instruction: %shift
77 ; XOP: Found an estimated cost of 4 for instruction: %shift
78 %shift = ashr <16 x i16> %a, %b
79 ret <16 x i16> %shift
84 ; SSE2: Found an estimated cost of 54 for instruction: %shift
85 ; SSE41: Found an estimated cost of 54 for instruction: %shift
86 ; AVX: Found an estimated cost of 54 for instruction: %shift
87 ; AVX2: Found an estimated cost of 54 for instruction: %shift
88 ; XOP: Found an estimated cost of 2 for instruction: %shift
89 %shift = ashr <16 x i8> %a, %b
90 ret <16 x i8> %shift
95 ; SSE2: Found an estimated cost of 108 for instruction: %shift
96 ; SSE41: Found an estimated cost of 108 for instruction: %shift
97 ; AVX: Found an estimated cost of 108 for instruction: %shift
98 ; AVX2: Found an estimated cost of 24 for instruction: %shift
99 ; XOP: Found an estimated cost of 4 for instruction: %shift
100 %shift = ashr <32 x i8> %a, %b
101 ret <32 x i8> %shift
110 ; SSE2: Found an estimated cost of 12 for instruction: %shift
111 ; SSE41: Found an estimated cost of 12 for instruction: %shift
112 ; AVX: Found an estimated cost of 12 for instruction: %shift
113 ; AVX2: Found an estimated cost of 4 for instruction: %shift
114 ; XOP: Found an estimated cost of 2 for instruction: %shift
116 %shift = ashr <2 x i64> %a, %splat
117 ret <2 x i64> %shift
122 ; SSE2: Found an estimated cost of 24 for instruction: %shift
123 ; SSE41: Found an estimated cost of 24 for instruction: %shift
124 ; AVX: Found an estimated cost of 24 for instruction: %shift
125 ; AVX2: Found an estimated cost of 4 for instruction: %shift
126 ; XOP: Found an estimated cost of 4 for instruction: %shift
128 %shift = ashr <4 x i64> %a, %splat
129 ret <4 x i64> %shift
134 ; SSE2: Found an estimated cost of 16 for instruction: %shift
135 ; SSE41: Found an estimated cost of 16 for instruction: %shift
136 ; AVX: Found an estimated cost of 16 for instruction: %shift
137 ; AVX2: Found an estimated cost of 1 for instruction: %shift
138 ; XOPAVX: Found an estimated cost of 2 for instruction: %shift
139 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
141 %shift = ashr <4 x i32> %a, %splat
142 ret <4 x i32> %shift
147 ; SSE2: Found an estimated cost of 32 for instruction: %shift
148 ; SSE41: Found an estimated cost of 32 for instruction: %shift
149 ; AVX: Found an estimated cost of 32 for instruction: %shift
150 ; AVX2: Found an estimated cost of 1 for instruction: %shift
151 ; XOPAVX: Found an estimated cost of 4 for instruction: %shift
152 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
154 %shift = ashr <8 x i32> %a, %splat
155 ret <8 x i32> %shift
160 ; SSE2: Found an estimated cost of 32 for instruction: %shift
161 ; SSE41: Found an estimated cost of 32 for instruction: %shift
162 ; AVX: Found an estimated cost of 32 for instruction: %shift
163 ; AVX2: Found an estimated cost of 32 for instruction: %shift
164 ; XOP: Found an estimated cost of 2 for instruction: %shift
166 %shift = ashr <8 x i16> %a, %splat
167 ret <8 x i16> %shift
172 ; SSE2: Found an estimated cost of 64 for instruction: %shift
173 ; SSE41: Found an estimated cost of 64 for instruction: %shift
174 ; AVX: Found an estimated cost of 64 for instruction: %shift
175 ; AVX2: Found an estimated cost of 10 for instruction: %shift
176 ; XOP: Found an estimated cost of 4 for instruction: %shift
178 %shift = ashr <16 x i16> %a, %splat
179 ret <16 x i16> %shift
184 ; SSE2: Found an estimated cost of 54 for instruction: %shift
185 ; SSE41: Found an estimated cost of 54 for instruction: %shift
186 ; AVX: Found an estimated cost of 54 for instruction: %shift
187 ; AVX2: Found an estimated cost of 54 for instruction: %shift
188 ; XOP: Found an estimated cost of 2 for instruction: %shift
190 %shift = ashr <16 x i8> %a, %splat
191 ret <16 x i8> %shift
196 ; SSE2: Found an estimated cost of 108 for instruction: %shift
197 ; SSE41: Found an estimated cost of 108 for instruction: %shift
198 ; AVX: Found an estimated cost of 108 for instruction: %shift
199 ; AVX2: Found an estimated cost of 24 for instruction: %shift
200 ; XOP: Found an estimated cost of 4 for instruction: %shift
202 %shift = ashr <32 x i8> %a, %splat
203 ret <32 x i8> %shift
212 ; SSE2: Found an estimated cost of 12 for instruction: %shift
213 ; SSE41: Found an estimated cost of 12 for instruction: %shift
214 ; AVX: Found an estimated cost of 12 for instruction: %shift
215 ; AVX2: Found an estimated cost of 4 for instruction: %shift
216 ; XOP: Found an estimated cost of 2 for instruction: %shift
217 %shift = ashr <2 x i64> %a, <i64 1, i64 7>
218 ret <2 x i64> %shift
223 ; SSE2: Found an estimated cost of 24 for instruction: %shift
224 ; SSE41: Found an estimated cost of 24 for instruction: %shift
225 ; AVX: Found an estimated cost of 24 for instruction: %shift
226 ; AVX2: Found an estimated cost of 4 for instruction: %shift
227 ; XOP: Found an estimated cost of 4 for instruction: %shift
228 %shift = ashr <4 x i64> %a, <i64 1, i64 7, i64 15, i64 31>
229 ret <4 x i64> %shift
234 ; SSE2: Found an estimated cost of 16 for instruction: %shift
235 ; SSE41: Found an estimated cost of 16 for instruction: %shift
236 ; AVX: Found an estimated cost of 16 for instruction: %shift
237 ; AVX2: Found an estimated cost of 1 for instruction: %shift
238 ; XOPAVX: Found an estimated cost of 2 for instruction: %shift
239 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
240 %shift = ashr <4 x i32> %a, <i32 4, i32 5, i32 6, i32 7>
241 ret <4 x i32> %shift
246 ; SSE2: Found an estimated cost of 32 for instruction: %shift
247 ; SSE41: Found an estimated cost of 32 for instruction: %shift
248 ; AVX: Found an estimated cost of 32 for instruction: %shift
249 ; AVX2: Found an estimated cost of 1 for instruction: %shift
250 ; XOPAVX: Found an estimated cost of 4 for instruction: %shift
251 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
252 %shift = ashr <8 x i32> %a, <i32 4, i32 5, i32 6, i32 7, i32 0, i32 1, i32 2, i32 3>
253 ret <8 x i32> %shift
258 ; SSE2: Found an estimated cost of 32 for instruction: %shift
259 ; SSE41: Found an estimated cost of 32 for instruction: %shift
260 ; AVX: Found an estimated cost of 32 for instruction: %shift
261 ; AVX2: Found an estimated cost of 32 for instruction: %shift
262 ; XOP: Found an estimated cost of 2 for instruction: %shift
263 %shift = ashr <8 x i16> %a, <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7>
264 ret <8 x i16> %shift
269 ; SSE2: Found an estimated cost of 64 for instruction: %shift
270 ; SSE41: Found an estimated cost of 64 for instruction: %shift
271 ; AVX: Found an estimated cost of 64 for instruction: %shift
272 ; AVX2: Found an estimated cost of 10 for instruction: %shift
273 ; XOP: Found an estimated cost of 4 for instruction: %shift
274 …%shift = ashr <16 x i16> %a, <i16 0, i16 1, i16 2, i16 3, i16 4, i16 5, i16 6, i16 7, i16 0, i16 1…
275 ret <16 x i16> %shift
280 ; SSE2: Found an estimated cost of 54 for instruction: %shift
281 ; SSE41: Found an estimated cost of 54 for instruction: %shift
282 ; AVX: Found an estimated cost of 54 for instruction: %shift
283 ; AVX2: Found an estimated cost of 54 for instruction: %shift
284 ; XOP: Found an estimated cost of 2 for instruction: %shift
285 …%shift = ashr <16 x i8> %a, <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 7, i8 6, i8 5, i8 …
286 ret <16 x i8> %shift
291 ; SSE2: Found an estimated cost of 108 for instruction: %shift
292 ; SSE41: Found an estimated cost of 108 for instruction: %shift
293 ; AVX: Found an estimated cost of 108 for instruction: %shift
294 ; AVX2: Found an estimated cost of 24 for instruction: %shift
295 ; XOP: Found an estimated cost of 4 for instruction: %shift
296 …%shift = ashr <32 x i8> %a, <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 7, i8 6, i8 5, i8 …
297 ret <32 x i8> %shift
306 ; SSE2: Found an estimated cost of 4 for instruction: %shift
307 ; SSE41: Found an estimated cost of 4 for instruction: %shift
308 ; AVX: Found an estimated cost of 4 for instruction: %shift
309 ; AVX2: Found an estimated cost of 4 for instruction: %shift
310 ; XOP: Found an estimated cost of 2 for instruction: %shift
311 %shift = ashr <2 x i64> %a, <i64 7, i64 7>
312 ret <2 x i64> %shift
317 ; SSE2: Found an estimated cost of 8 for instruction: %shift
318 ; SSE41: Found an estimated cost of 8 for instruction: %shift
319 ; AVX: Found an estimated cost of 8 for instruction: %shift
320 ; AVX2: Found an estimated cost of 4 for instruction: %shift
321 ; XOP: Found an estimated cost of 4 for instruction: %shift
322 %shift = ashr <4 x i64> %a, <i64 7, i64 7, i64 7, i64 7>
323 ret <4 x i64> %shift
328 ; SSE2: Found an estimated cost of 1 for instruction: %shift
329 ; SSE41: Found an estimated cost of 1 for instruction: %shift
330 ; AVX: Found an estimated cost of 1 for instruction: %shift
331 ; AVX2: Found an estimated cost of 1 for instruction: %shift
332 ; XOPAVX: Found an estimated cost of 2 for instruction: %shift
333 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
334 %shift = ashr <4 x i32> %a, <i32 5, i32 5, i32 5, i32 5>
335 ret <4 x i32> %shift
340 ; SSE2: Found an estimated cost of 2 for instruction: %shift
341 ; SSE41: Found an estimated cost of 2 for instruction: %shift
342 ; AVX: Found an estimated cost of 2 for instruction: %shift
343 ; AVX2: Found an estimated cost of 1 for instruction: %shift
344 ; XOPAVX: Found an estimated cost of 4 for instruction: %shift
345 ; XOPAVX2: Found an estimated cost of 1 for instruction: %shift
346 %shift = ashr <8 x i32> %a, <i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5, i32 5>
347 ret <8 x i32> %shift
352 ; SSE2: Found an estimated cost of 1 for instruction: %shift
353 ; SSE41: Found an estimated cost of 1 for instruction: %shift
354 ; AVX: Found an estimated cost of 1 for instruction: %shift
355 ; AVX2: Found an estimated cost of 1 for instruction: %shift
356 ; XOP: Found an estimated cost of 2 for instruction: %shift
357 %shift = ashr <8 x i16> %a, <i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3>
358 ret <8 x i16> %shift
363 ; SSE2: Found an estimated cost of 2 for instruction: %shift
364 ; SSE41: Found an estimated cost of 2 for instruction: %shift
365 ; AVX: Found an estimated cost of 2 for instruction: %shift
366 ; AVX2: Found an estimated cost of 10 for instruction: %shift
367 ; XOP: Found an estimated cost of 4 for instruction: %shift
368 …%shift = ashr <16 x i16> %a, <i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3…
369 ret <16 x i16> %shift
374 ; SSE2: Found an estimated cost of 4 for instruction: %shift
375 ; SSE41: Found an estimated cost of 4 for instruction: %shift
376 ; AVX: Found an estimated cost of 4 for instruction: %shift
377 ; AVX2: Found an estimated cost of 4 for instruction: %shift
378 ; XOP: Found an estimated cost of 2 for instruction: %shift
379 …%shift = ashr <16 x i8> %a, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 …
380 ret <16 x i8> %shift
385 ; SSE2: Found an estimated cost of 8 for instruction: %shift
386 ; SSE41: Found an estimated cost of 8 for instruction: %shift
387 ; AVX: Found an estimated cost of 8 for instruction: %shift
388 ; AVX2: Found an estimated cost of 24 for instruction: %shift
389 ; XOP: Found an estimated cost of 4 for instruction: %shift
390 …%shift = ashr <32 x i8> %a, <i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 3, i8 …
391 ret <32 x i8> %shift