Lines Matching refs:AVX512BW
3 …own-unknown -mcpu=x86-64 -mattr=+avx512bw | FileCheck %s --check-prefix=AVX --check-prefix=AVX512BW
22 ; AVX512BW-LABEL: avg_v4i8:
23 ; AVX512BW: # BB#0:
24 ; AVX512BW-NEXT: vmovd (%rdi), %xmm0
25 ; AVX512BW-NEXT: vmovd (%rsi), %xmm1
26 ; AVX512BW-NEXT: vpavgb %xmm0, %xmm1, %xmm0
27 ; AVX512BW-NEXT: vmovd %xmm0, (%rax)
28 ; AVX512BW-NEXT: retq
58 ; AVX512BW-LABEL: avg_v8i8:
59 ; AVX512BW: # BB#0:
60 ; AVX512BW-NEXT: vmovq (%rdi), %xmm0
61 ; AVX512BW-NEXT: vmovq (%rsi), %xmm1
62 ; AVX512BW-NEXT: vpavgb %xmm0, %xmm1, %xmm0
63 ; AVX512BW-NEXT: vmovq %xmm0, (%rax)
64 ; AVX512BW-NEXT: retq
112 ; AVX512BW-LABEL: avg_v32i8:
113 ; AVX512BW: # BB#0:
114 ; AVX512BW-NEXT: vmovdqa (%rsi), %ymm0
115 ; AVX512BW-NEXT: vpavgb (%rdi), %ymm0, %ymm0
116 ; AVX512BW-NEXT: vmovdqu %ymm0, (%rax)
117 ; AVX512BW-NEXT: retq
131 ; AVX512BW-LABEL: avg_v64i8:
132 ; AVX512BW: # BB#0:
133 ; AVX512BW-NEXT: vmovdqu8 (%rsi), %zmm0
134 ; AVX512BW-NEXT: vpavgb (%rdi), %zmm0, %zmm0
135 ; AVX512BW-NEXT: vmovdqu8 %zmm0, (%rax)
136 ; AVX512BW-NEXT: retq
166 ; AVX512BW-LABEL: avg_v4i16:
167 ; AVX512BW: # BB#0:
168 ; AVX512BW-NEXT: vmovq (%rdi), %xmm0
169 ; AVX512BW-NEXT: vmovq (%rsi), %xmm1
170 ; AVX512BW-NEXT: vpavgw %xmm0, %xmm1, %xmm0
171 ; AVX512BW-NEXT: vmovq %xmm0, (%rax)
172 ; AVX512BW-NEXT: retq
220 ; AVX512BW-LABEL: avg_v16i16:
221 ; AVX512BW: # BB#0:
222 ; AVX512BW-NEXT: vmovdqa (%rsi), %ymm0
223 ; AVX512BW-NEXT: vpavgw (%rdi), %ymm0, %ymm0
224 ; AVX512BW-NEXT: vmovdqu %ymm0, (%rax)
225 ; AVX512BW-NEXT: retq
239 ; AVX512BW-LABEL: avg_v32i16:
240 ; AVX512BW: # BB#0:
241 ; AVX512BW-NEXT: vmovdqu16 (%rsi), %zmm0
242 ; AVX512BW-NEXT: vpavgw (%rdi), %zmm0, %zmm0
243 ; AVX512BW-NEXT: vmovdqu16 %zmm0, (%rax)
244 ; AVX512BW-NEXT: retq
274 ; AVX512BW-LABEL: avg_v4i8_2:
275 ; AVX512BW: # BB#0:
276 ; AVX512BW-NEXT: vmovd (%rdi), %xmm0
277 ; AVX512BW-NEXT: vmovd (%rsi), %xmm1
278 ; AVX512BW-NEXT: vpavgb %xmm1, %xmm0, %xmm0
279 ; AVX512BW-NEXT: vmovd %xmm0, (%rax)
280 ; AVX512BW-NEXT: retq
310 ; AVX512BW-LABEL: avg_v8i8_2:
311 ; AVX512BW: # BB#0:
312 ; AVX512BW-NEXT: vmovq (%rdi), %xmm0
313 ; AVX512BW-NEXT: vmovq (%rsi), %xmm1
314 ; AVX512BW-NEXT: vpavgb %xmm1, %xmm0, %xmm0
315 ; AVX512BW-NEXT: vmovq %xmm0, (%rax)
316 ; AVX512BW-NEXT: retq
364 ; AVX512BW-LABEL: avg_v32i8_2:
365 ; AVX512BW: # BB#0:
366 ; AVX512BW-NEXT: vmovdqa (%rdi), %ymm0
367 ; AVX512BW-NEXT: vpavgb (%rsi), %ymm0, %ymm0
368 ; AVX512BW-NEXT: vmovdqu %ymm0, (%rax)
369 ; AVX512BW-NEXT: retq
383 ; AVX512BW-LABEL: avg_v64i8_2:
384 ; AVX512BW: # BB#0:
385 ; AVX512BW-NEXT: vmovdqu8 (%rsi), %zmm0
386 ; AVX512BW-NEXT: vpavgb %zmm0, %zmm0, %zmm0
387 ; AVX512BW-NEXT: vmovdqu8 %zmm0, (%rax)
388 ; AVX512BW-NEXT: retq
419 ; AVX512BW-LABEL: avg_v4i16_2:
420 ; AVX512BW: # BB#0:
421 ; AVX512BW-NEXT: vmovq (%rdi), %xmm0
422 ; AVX512BW-NEXT: vmovq (%rsi), %xmm1
423 ; AVX512BW-NEXT: vpavgw %xmm1, %xmm0, %xmm0
424 ; AVX512BW-NEXT: vmovq %xmm0, (%rax)
425 ; AVX512BW-NEXT: retq
473 ; AVX512BW-LABEL: avg_v16i16_2:
474 ; AVX512BW: # BB#0:
475 ; AVX512BW-NEXT: vmovdqa (%rdi), %ymm0
476 ; AVX512BW-NEXT: vpavgw (%rsi), %ymm0, %ymm0
477 ; AVX512BW-NEXT: vmovdqu %ymm0, (%rax)
478 ; AVX512BW-NEXT: retq
492 ; AVX512BW-LABEL: avg_v32i16_2:
493 ; AVX512BW: # BB#0:
494 ; AVX512BW-NEXT: vmovdqu16 (%rdi), %zmm0
495 ; AVX512BW-NEXT: vpavgw (%rsi), %zmm0, %zmm0
496 ; AVX512BW-NEXT: vmovdqu16 %zmm0, (%rax)
497 ; AVX512BW-NEXT: retq
525 ; AVX512BW-LABEL: avg_v4i8_const:
526 ; AVX512BW: # BB#0:
527 ; AVX512BW-NEXT: vmovd (%rdi), %xmm0
528 ; AVX512BW-NEXT: vpavgb {{.*}}(%rip), %xmm0, %xmm0
529 ; AVX512BW-NEXT: vmovd %xmm0, (%rax)
530 ; AVX512BW-NEXT: retq
555 ; AVX512BW-LABEL: avg_v8i8_const:
556 ; AVX512BW: # BB#0:
557 ; AVX512BW-NEXT: vmovq (%rdi), %xmm0
558 ; AVX512BW-NEXT: vpavgb {{.*}}(%rip), %xmm0, %xmm0
559 ; AVX512BW-NEXT: vmovq %xmm0, (%rax)
560 ; AVX512BW-NEXT: retq
602 ; AVX512BW-LABEL: avg_v32i8_const:
603 ; AVX512BW: # BB#0:
604 ; AVX512BW-NEXT: vmovdqa (%rdi), %ymm0
605 ; AVX512BW-NEXT: vpavgb {{.*}}(%rip), %ymm0, %ymm0
606 ; AVX512BW-NEXT: vmovdqu %ymm0, (%rax)
607 ; AVX512BW-NEXT: retq
618 ; AVX512BW-LABEL: avg_v64i8_const:
619 ; AVX512BW: # BB#0:
620 ; AVX512BW-NEXT: vmovdqu8 (%rdi), %zmm0
621 ; AVX512BW-NEXT: vpavgb {{.*}}(%rip), %zmm0, %zmm0
622 ; AVX512BW-NEXT: vmovdqu8 %zmm0, (%rax)
623 ; AVX512BW-NEXT: retq
648 ; AVX512BW-LABEL: avg_v4i16_const:
649 ; AVX512BW: # BB#0:
650 ; AVX512BW-NEXT: vmovq (%rdi), %xmm0
651 ; AVX512BW-NEXT: vpavgw {{.*}}(%rip), %xmm0, %xmm0
652 ; AVX512BW-NEXT: vmovq %xmm0, (%rax)
653 ; AVX512BW-NEXT: retq
695 ; AVX512BW-LABEL: avg_v16i16_const:
696 ; AVX512BW: # BB#0:
697 ; AVX512BW-NEXT: vmovdqa (%rdi), %ymm0
698 ; AVX512BW-NEXT: vpavgw {{.*}}(%rip), %ymm0, %ymm0
699 ; AVX512BW-NEXT: vmovdqu %ymm0, (%rax)
700 ; AVX512BW-NEXT: retq
711 ; AVX512BW-LABEL: avg_v32i16_const:
712 ; AVX512BW: # BB#0:
713 ; AVX512BW-NEXT: vmovdqu16 (%rdi), %zmm0
714 ; AVX512BW-NEXT: vpavgw {{.*}}(%rip), %zmm0, %zmm0
715 ; AVX512BW-NEXT: vmovdqu16 %zmm0, (%rax)
716 ; AVX512BW-NEXT: retq