Lines Matching refs:AVX2
2 ; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=AVX2,AVX2-SLOW
3 …e=x86_64-unknown -mattr=+avx2,+fast-variable-shuffle | FileCheck %s --check-prefixes=AVX2,AVX2-FAST
7 ; AVX2-LABEL: foo2:
8 ; AVX2: # %bb.0:
9 ; AVX2-NEXT: vpermilpd {{.*#+}} xmm0 = xmm0[1,1]
10 ; AVX2-NEXT: vmovapd %xmm0, (%rdi)
11 ; AVX2-NEXT: retq
19 ; AVX2-LABEL: foo4:
20 ; AVX2: # %bb.0:
21 ; AVX2-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[2,2,2,2]
22 ; AVX2-NEXT: vmovaps %ymm0, (%rdi)
23 ; AVX2-NEXT: retq
31 ; AVX2-SLOW-LABEL: foo8:
32 ; AVX2-SLOW: # %bb.0:
33 ; AVX2-SLOW-NEXT: vmovshdup {{.*#+}} ymm0 = ymm0[1,1,3,3,5,5,7,7]
34 ; AVX2-SLOW-NEXT: vpermpd {{.*#+}} ymm0 = ymm0[2,2,2,2]
35 ; AVX2-SLOW-NEXT: vmovaps %ymm0, (%rdi)
36 ; AVX2-SLOW-NEXT: retq
38 ; AVX2-FAST-LABEL: foo8:
39 ; AVX2-FAST: # %bb.0:
40 ; AVX2-FAST-NEXT: vbroadcastss {{.*#+}} ymm1 = [5,5,5,5,5,5,5,5]
41 ; AVX2-FAST-NEXT: vpermps %ymm0, %ymm1, %ymm0
42 ; AVX2-FAST-NEXT: vmovaps %ymm0, (%rdi)
43 ; AVX2-FAST-NEXT: retq
51 ; AVX2-LABEL: undef_splatmask:
52 ; AVX2: # %bb.0:
53 ; AVX2-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,2,3,3]
54 ; AVX2-NEXT: retq
61 ; AVX2-LABEL: undef_splatmask2:
62 ; AVX2: # %bb.0:
63 ; AVX2-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,2,3,3]
64 ; AVX2-NEXT: retq
71 ; AVX2-LABEL: undef_splatmask3:
72 ; AVX2: # %bb.0:
73 ; AVX2-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,2,3,3]
74 ; AVX2-NEXT: retq
81 ; AVX2-LABEL: undef_splatmask4:
82 ; AVX2: # %bb.0:
83 ; AVX2-NEXT: vpermilps {{.*#+}} xmm1 = xmm0[2,2,3,3]
84 ; AVX2-NEXT: vpermilps {{.*#+}} xmm0 = xmm0[2,3,2,3]
85 ; AVX2-NEXT: vmovaps %xmm0, (%rdi)
86 ; AVX2-NEXT: vmovaps %xmm1, %xmm0
87 ; AVX2-NEXT: retq
95 ; AVX2-LABEL: undef_splatmask5:
96 ; AVX2: # %bb.0:
97 ; AVX2-NEXT: vbroadcastss %xmm0, %xmm0
98 ; AVX2-NEXT: vmovaps %xmm0, (%rdi)
99 ; AVX2-NEXT: retq